lkml.org 
[lkml]   [2019]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] leds: Replace {devm_}led_classdev_register() macros with inlines
From
Date
On 8/27/19 1:31 PM, Pavel Machek wrote:
> On Mon 2019-08-26 23:02:19, Jacek Anaszewski wrote:
>> Replace preprocessor macro aliases for legacy LED registration helpers
>> with inline functions. It will allow to avoid misleading compiler error
>> messages about missing symbol that actually wasn't explicitly used
>> in the code. It used to occur when CONFIG_LEDS_CLASS was undefined
>> and legacy (non-ext) function had been used in the code.
>>
>> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
>
> Acked-by: Pavel Machek <pavel@ucw.cz>

Thanks, applied.

--
Best regards,
Jacek Anaszewski

\
 
 \ /
  Last update: 2019-08-27 23:34    [W:0.025 / U:3.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site