leds: lm3692x: Split out lm3692x_leds_disable
authorGuido Günther <agx@sigxcpu.org>
Mon, 6 Jan 2020 15:48:52 +0000 (16:48 +0100)
committerPavel <pavel@ucw.cz>
Tue, 7 Jan 2020 13:09:13 +0000 (14:09 +0100)
commit4a8d2bee2080d32511b70d8558036894f42617fd
tree1497b6ee90b63a05538d982211a8255da6137215
parent5e9d7b6f433628b3e178bbf1ca62fe1965afe361
leds: lm3692x: Split out lm3692x_leds_disable

Move the relevant parts out of lm3692x_remove() and call it from
there. 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