diff options
author | Marek BehĂșn <kabel@kernel.org> | 2020-09-26 23:11:31 +0300 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-09-30 20:22:58 +0300 |
commit | 8fd8f94235c2c925d80b2316e0ab2bdd00af9bae (patch) | |
tree | 1d61fa98ee865ff985f12124a9d21f1849d0b0e6 /scripts/coccicheck | |
parent | 940cca1ab5d6c3bc1f8db0c804cf7c5e0caf1853 (diff) | |
download | linux-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 'scripts/coccicheck')
0 files changed, 0 insertions, 0 deletions