All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] LED subsystem updates for 4.6
@ 2016-03-14 10:24 Jacek Anaszewski
  2016-03-14 23:36 ` Stephen Rothwell
  2016-03-16  5:15 ` Linus Torvalds
  0 siblings, 2 replies; 7+ messages in thread
From: Jacek Anaszewski @ 2016-03-14 10:24 UTC (permalink / raw)
  To: torvalds
  Cc: linux-kernel, linux-leds, amitoj1606, ao2, drivshin,
	geert+renesas, hkallweit1, stefan.wahren, yongjun_wei

Hi Linus,

Please pull LED updates for 4.6 merge cycle.

The following changes since commit b562e44f507e863c6792946e4e1b1449fbbac85d:

  Linux 4.5 (2016-03-13 21:28:54 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds.git tags/leds_for_4.6

for you to fetch changes up to 7296c33ed12ef13de50e03c76643382123766f96:

  leds: triggers: simplify led_trigger_store (2016-03-14 09:22:23 +0100)

----------------------------------------------------------------
LED core improvements:

- Fix misleading comment after workqueue removal from drivers.

- Avoid error message when a USB LED device is unplugged.

- Add helpers for calling brightness_set(_blocking)

LED triggers:

- Simplify led_trigger_store by using sysfs_streq().

LED class drivers improvements:

- Improve wording and formatting in a comment: lp3944.

- Fix return value check in create_gpio_led(): leds-gpio.

- Use GPIOF_OUT_INIT_LOW instead of hardcoded zero: leds-gpio.

- Use devm_led_classdev_register(): leds-lm3533, leds-lm3533, leds-lp8788,
  leds-wm831x-status, leds-s3c24xx, leds-s3c24xx, leds: max8997.

New LED class driver:

- Add driver for the ISSI IS31FL32xx family of LED controllers.

Device Tree documentation:

- of: Add vendor prefixes for Integrated Silicon Solutions Inc. (issi)
  and Si-En Technology (si-en).

- DT: Add common bindings for Si-En Technology SN3216/18 and IS31FL32xx
  family of LED controllers, since they seem to be the same hardware,
  just rebranded.

----------------------------------------------------------------
Amitoj Kaur Chawla (7):
      leds: lm3533: Use devm_led_classdev_register
      leds: 88pm860x: Use devm_led_classdev_register
      leds: lp8788: Use devm_led_classdev_register
      leds: wm831x-status: Use devm_led_classdev_register
      leds: s3c24xx: Use devm_led_classdev_register
      leds: da903x: Use devm_led_classdev_register
      leds: max8997: Use devm_led_classdev_register

Antonio Ospite (1):
      leds: lp3944: improve wording and formatting in a comment

David Rivshin (4):
      DT: Add vendor prefix for Integrated Silicon Solutions Inc.
      DT: leds: Add binding for the ISSI IS31FL32xx family of LED controllers
      leds: Add driver for the ISSI IS31FL32xx family of LED controllers
      leds: Add SN3218 and SN3216 support to the IS31FL32XX driver

Geert Uytterhoeven (1):
      leds: gpio: Use GPIOF_OUT_INIT_LOW instead of hardcoded zero

Heiner Kallweit (4):
      leds: core: fix misleading comment after workqueue removal from drivers
      leds: core: avoid error message when a USB LED device is unplugged
      leds: core: add helpers for calling brightness_set(_blocking)
      leds: triggers: simplify led_trigger_store

Stefan Wahren (1):
      of: Add vendor prefix for Si-En Technology

Wei Yongjun (1):
      leds: leds-gpio: Fix return value check in create_gpio_led()

 .../devicetree/bindings/leds/leds-is31fl32xx.txt   |   52 ++
 .../devicetree/bindings/vendor-prefixes.txt        |    2 +
 drivers/leds/Kconfig                               |    8 +
 drivers/leds/Makefile                              |    1 +
 drivers/leds/led-class.c                           |    2 +
 drivers/leds/led-core.c                            |   45 +-
 drivers/leds/led-triggers.c                        |   13 +-
 drivers/leds/leds-88pm860x.c                       |   12 +-
 drivers/leds/leds-da903x.c                         |   12 +-
 drivers/leds/leds-gpio.c                           |    6 +-
 drivers/leds/leds-is31fl32xx.c                     |  508 ++++++++++++++++++++
 drivers/leds/leds-lm3533.c                         |   12 +-
 drivers/leds/leds-lp3944.c                         |    7 +-
 drivers/leds/leds-lp8788.c                         |   14 +-
 drivers/leds/leds-max8997.c                        |   14 +-
 drivers/leds/leds-s3c24xx.c                        |   19 +-
 drivers/leds/leds-wm831x-status.c                  |   13 +-
 include/linux/leds.h                               |    8 +-
 18 files changed, 628 insertions(+), 120 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/leds/leds-is31fl32xx.txt
 create mode 100644 drivers/leds/leds-is31fl32xx.c

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [GIT PULL] LED subsystem updates for 4.6
  2016-03-14 10:24 [GIT PULL] LED subsystem updates for 4.6 Jacek Anaszewski
@ 2016-03-14 23:36 ` Stephen Rothwell
  2016-03-15  7:51   ` Jacek Anaszewski
  2016-03-16  5:15 ` Linus Torvalds
  1 sibling, 1 reply; 7+ messages in thread
From: Stephen Rothwell @ 2016-03-14 23:36 UTC (permalink / raw)
  To: Jacek Anaszewski
  Cc: torvalds, linux-kernel, linux-leds, amitoj1606, ao2, drivshin,
	geert+renesas, hkallweit1, stefan.wahren, yongjun_wei

Hi Jacek,

On Mon, 14 Mar 2016 11:24:57 +0100 Jacek Anaszewski <j.anaszewski@samsung.com> wrote:
>
> Please pull LED updates for 4.6 merge cycle.
> 
> The following changes since commit b562e44f507e863c6792946e4e1b1449fbbac85d:
> 
>   Linux 4.5 (2016-03-13 21:28:54 -0700)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds.git tags/leds_for_4.6
> 
> for you to fetch changes up to 7296c33ed12ef13de50e03c76643382123766f96:
> 
>   leds: triggers: simplify led_trigger_store (2016-03-14 09:22:23 +0100)

All rebased since yesterday for some reason?

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [GIT PULL] LED subsystem updates for 4.6
  2016-03-14 23:36 ` Stephen Rothwell
@ 2016-03-15  7:51   ` Jacek Anaszewski
  2016-03-16  5:04     ` Linus Torvalds
  0 siblings, 1 reply; 7+ messages in thread
From: Jacek Anaszewski @ 2016-03-15  7:51 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: torvalds, linux-kernel, linux-leds, amitoj1606, ao2, drivshin,
	geert+renesas, hkallweit1, stefan.wahren, yongjun_wei

Hi Stephen,

On 03/15/2016 12:36 AM, Stephen Rothwell wrote:
> Hi Jacek,
>
> On Mon, 14 Mar 2016 11:24:57 +0100 Jacek Anaszewski <j.anaszewski@samsung.com> wrote:
>>
>> Please pull LED updates for 4.6 merge cycle.
>>
>> The following changes since commit b562e44f507e863c6792946e4e1b1449fbbac85d:
>>
>>    Linux 4.5 (2016-03-13 21:28:54 -0700)
>>
>> are available in the git repository at:
>>
>>    git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds.git tags/leds_for_4.6
>>
>> for you to fetch changes up to 7296c33ed12ef13de50e03c76643382123766f96:
>>
>>    leds: triggers: simplify led_trigger_store (2016-03-14 09:22:23 +0100)
>
> All rebased since yesterday for some reason?
>

I just wanted to make sure that no unexpected problem has occurred
after rebasing onto 4.5 release. Is it in some way more advantageous to
base a pull request on rc7, than on a final release?

-- 
Best regards,
Jacek Anaszewski

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [GIT PULL] LED subsystem updates for 4.6
  2016-03-15  7:51   ` Jacek Anaszewski
@ 2016-03-16  5:04     ` Linus Torvalds
  2016-03-16  7:40       ` Jacek Anaszewski
  0 siblings, 1 reply; 7+ messages in thread
From: Linus Torvalds @ 2016-03-16  5:04 UTC (permalink / raw)
  To: Jacek Anaszewski
  Cc: Stephen Rothwell, Linux Kernel Mailing List, Linux LED Subsystem,
	amitoj1606, ao2, drivshin, Geert Uytterhoeven, hkallweit1,
	stefan.wahren, Wei Yongjun

On Tue, Mar 15, 2016 at 12:51 AM, Jacek Anaszewski
<j.anaszewski@samsung.com> wrote:
>
> I just wanted to make sure that no unexpected problem has occurred
> after rebasing onto 4.5 release. Is it in some way more advantageous to
> base a pull request on rc7, than on a final release?

I'd rather see the pull request based on whatever it has been tested
on, and just keep it that way.

Any rebasing will inevitably mean that you are basically throwing all
previous testing out the window (or at least make it dubious).

Rebasing also makes it much harder to see the history (for example,
compare it against previous linux-next trees), so the rule really
should be that you should never rebase unless you have a major reason
to do so.

So for example, if you actually find a problem, and you notice that
that problem comes not from your own changes, but from the base you
picked - *then* you'd want to rebase to a more stable base. But a
rebase "just because" is not a good idea.

I'll pull it, since it looks fairly harmless, but basically please
don't do that again.

              Linus

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [GIT PULL] LED subsystem updates for 4.6
  2016-03-14 10:24 [GIT PULL] LED subsystem updates for 4.6 Jacek Anaszewski
  2016-03-14 23:36 ` Stephen Rothwell
@ 2016-03-16  5:15 ` Linus Torvalds
  2016-03-16  7:47   ` Jacek Anaszewski
  1 sibling, 1 reply; 7+ messages in thread
From: Linus Torvalds @ 2016-03-16  5:15 UTC (permalink / raw)
  To: Jacek Anaszewski
  Cc: Linux Kernel Mailing List, Linux LED Subsystem, amitoj1606, ao2,
	drivshin, Geert Uytterhoeven, hkallweit1, stefan.wahren,
	Wei Yongjun

On Mon, Mar 14, 2016 at 3:24 AM, Jacek Anaszewski
<j.anaszewski@samsung.com> wrote:
>
> New LED class driver:
>
> - Add driver for the ISSI IS31FL32xx family of LED controllers.

Grr. This has apparently not gotten with the program, and causes a few
annoying warnings:

drivers/leds/leds-is31fl32xx.c: In function ‘is31fl32xx_parse_child_dt’:
drivers/leds/leds-is31fl32xx.c:345:30: warning: passing argument 1 of
‘of_property_read_string’ discards ‘const’ qualifier from pointer
target type [-Wdiscarded-qualifiers]
  if (of_property_read_string(child, "label", &cdev->name))
                              ^

(there's another at line 357)

I've pulled, but I'll expect this to be fixed.

              Linus

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [GIT PULL] LED subsystem updates for 4.6
  2016-03-16  5:04     ` Linus Torvalds
@ 2016-03-16  7:40       ` Jacek Anaszewski
  0 siblings, 0 replies; 7+ messages in thread
From: Jacek Anaszewski @ 2016-03-16  7:40 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Stephen Rothwell, Linux Kernel Mailing List, Linux LED Subsystem,
	amitoj1606, ao2, drivshin, Geert Uytterhoeven, hkallweit1,
	stefan.wahren, Wei Yongjun

On 03/16/2016 06:04 AM, Linus Torvalds wrote:
> On Tue, Mar 15, 2016 at 12:51 AM, Jacek Anaszewski
> <j.anaszewski@samsung.com> wrote:
>>
>> I just wanted to make sure that no unexpected problem has occurred
>> after rebasing onto 4.5 release. Is it in some way more advantageous to
>> base a pull request on rc7, than on a final release?
>
> I'd rather see the pull request based on whatever it has been tested
> on, and just keep it that way.
>
> Any rebasing will inevitably mean that you are basically throwing all
> previous testing out the window (or at least make it dubious).
>
> Rebasing also makes it much harder to see the history (for example,
> compare it against previous linux-next trees), so the rule really
> should be that you should never rebase unless you have a major reason
> to do so.
>
> So for example, if you actually find a problem, and you notice that
> that problem comes not from your own changes, but from the base you
> picked - *then* you'd want to rebase to a more stable base. But a
> rebase "just because" is not a good idea.
>
> I'll pull it, since it looks fairly harmless, but basically please
> don't do that again.

Thanks for the explanation. I'll proceed accordingly.

-- 
Best regards,
Jacek Anaszewski

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [GIT PULL] LED subsystem updates for 4.6
  2016-03-16  5:15 ` Linus Torvalds
@ 2016-03-16  7:47   ` Jacek Anaszewski
  0 siblings, 0 replies; 7+ messages in thread
From: Jacek Anaszewski @ 2016-03-16  7:47 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Linux Kernel Mailing List, Linux LED Subsystem, amitoj1606, ao2,
	drivshin, Geert Uytterhoeven, hkallweit1, stefan.wahren,
	Wei Yongjun

On 03/16/2016 06:15 AM, Linus Torvalds wrote:
> On Mon, Mar 14, 2016 at 3:24 AM, Jacek Anaszewski
> <j.anaszewski@samsung.com> wrote:
>>
>> New LED class driver:
>>
>> - Add driver for the ISSI IS31FL32xx family of LED controllers.
>
> Grr. This has apparently not gotten with the program, and causes a few
> annoying warnings:
>
> drivers/leds/leds-is31fl32xx.c: In function ‘is31fl32xx_parse_child_dt’:
> drivers/leds/leds-is31fl32xx.c:345:30: warning: passing argument 1 of
> ‘of_property_read_string’ discards ‘const’ qualifier from pointer
> target type [-Wdiscarded-qualifiers]
>    if (of_property_read_string(child, "label", &cdev->name))
>                                ^

The warnings will disappear after merging the patch [1].
I was to mention it in the pull request but eventually forgot.
Sorry about that.

> (there's another at line 357)
>
> I've pulled, but I'll expect this to be fixed.
>
>                Linus
>
>

[1] 
https://git.kernel.org/cgit/linux/kernel/git/robh/linux.git/commit/?h=for-next&id=fe99c707fc7bb0baba75b26ed585ee3464612dbe

-- 
Best regards,
Jacek Anaszewski

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-03-16  7:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-14 10:24 [GIT PULL] LED subsystem updates for 4.6 Jacek Anaszewski
2016-03-14 23:36 ` Stephen Rothwell
2016-03-15  7:51   ` Jacek Anaszewski
2016-03-16  5:04     ` Linus Torvalds
2016-03-16  7:40       ` Jacek Anaszewski
2016-03-16  5:15 ` Linus Torvalds
2016-03-16  7:47   ` Jacek Anaszewski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.