Re: [GIT PULL] LED subsystem updates for 4.6

Jacek Anaszewski
2016-03-16T07:47:10Z

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