summaryrefslogtreecommitdiff
path: root/drivers/leds
diff options
context:
space:
mode:
authorJacek Anaszewski <jacek.anaszewski@gmail.com>2019-08-26 22:34:42 +0200
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2019-09-01 13:33:16 +0200
commit7c322056e3564da1b5bdc3f3cb79229582955eb2 (patch)
treecc1db40614e273681f68a91f1bfa7abd9483e0a7 /drivers/leds
parent1dbb9fb4082ce2a2f1cf9596881ddece062d15d0 (diff)
leds: Replace {devm_}led_classdev_register() macros with inlines
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>
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions