backlight: rave-sp: Leave initial state and register with correct device
authorLucas Stach <l.stach@pengutronix.de>
Mon, 8 Jul 2019 12:41:29 +0000 (14:41 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 12 Aug 2019 08:11:10 +0000 (09:11 +0100)
commit865cac14c2dac2fa5f16d1781ca2746b0d323796
tree40a03d3d50dfcbad1fe34759e471c351aac7b72d
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b
backlight: rave-sp: Leave initial state and register with correct device

This way the backlight can be referenced through its device node and
enabling/disabling can be managed through the panel driver.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/video/backlight/rave-sp-backlight.c