leds: lm3692x: Move lm3692x_init and rename to lm3692x_leds_enable
authorGuido Günther <agx@sigxcpu.org>
Mon, 6 Jan 2020 15:48:51 +0000 (16:48 +0100)
committerPavel <pavel@ucw.cz>
Tue, 7 Jan 2020 13:09:01 +0000 (14:09 +0100)
commit5e9d7b6f433628b3e178bbf1ca62fe1965afe361
treea2ad9c7d1919aae60b3c6cb1b32db3dd7dd57da7
parentdf7083b57331da0222380392d8d0d8b39972bef9
leds: lm3692x: Move lm3692x_init and rename to lm3692x_leds_enable

This moves lm3692x_init so it can be used from
lm3692x_brightness_set. Rename to lm3692_leds_enable to pair up
with lm3692x_leds_disable. No functional change.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/leds-lm3692x.c