summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-lm3697.c
diff options
context:
space:
mode:
authorMarek BehĂșn <kabel@kernel.org>2020-09-26 23:11:31 +0300
committerPavel Machek <pavel@ucw.cz>2020-09-30 20:22:58 +0300
commit8fd8f94235c2c925d80b2316e0ab2bdd00af9bae (patch)
tree1d61fa98ee865ff985f12124a9d21f1849d0b0e6 /drivers/leds/leds-lm3697.c
parent940cca1ab5d6c3bc1f8db0c804cf7c5e0caf1853 (diff)
downloadlinux-8fd8f94235c2c925d80b2316e0ab2bdd00af9bae.tar.xz
leds: ns2: do not guard OF match pointer with of_match_ptr
Do not match OF match pointer with of_match_ptr, so that even if CONFIG_OF is disabled, the driver can still be bound via another method. Move definition of of_ns2_leds_match just before ns2_led_driver definition, since it is not needed sooner. Signed-off-by: Marek BehĂșn <kabel@kernel.org> Tested-by: Simon Guinot <simon.guinot@sequanux.org> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds/leds-lm3697.c')
0 files changed, 0 insertions, 0 deletions