Re: [PATCH] leds: Replace {devm_}led_classdev_register() macros with inlines

From: Jacek Anaszewski
Date: Tue Aug 27 2019 - 17:34:42 EST

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@xxxxxxxxx>
> Acked-by: Pavel Machek <pavel@xxxxxx>

Thanks, applied.

Best regards,
Jacek Anaszewski