summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-lp5521.c
diff options
context:
space:
mode:
authorMilo Kim <milo.kim@ti.com>2015-07-20 08:45:38 +0200
committerLee Jones <lee.jones@linaro.org>2015-08-25 09:40:44 +0200
commitfe009175ae3ec3724c1414440e22a1d32d806ec5 (patch)
treef8d85f662cfe1001ef4409718f4fe4b3634c504b /drivers/leds/leds-lp5521.c
parentLinux 4.2-rc2 (diff)
downloadlinux-fe009175ae3ec3724c1414440e22a1d32d806ec5.tar.xz
linux-fe009175ae3ec3724c1414440e22a1d32d806ec5.zip
backlight: lp855x: Use private data for regulator control
LP855x backlight device can be enabled by external VDD input. The 'supply' data is used for this purpose. It's kind of private data which runs internally, so there is no reason to expose to the platform data. And devm_regulator_get() is moved from _parse_dt() to _probe(). Regulator consumer(lp855x) can control regulator not only from DT but also from platform data configuration in a source file such like board-*.c. Signed-off-by: Milo Kim <milo.kim@ti.com> Acked-by: Sean Paul <seanpaul@chromium.org> Acked-by: Jingoo Han <jingoohan1@gmail.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/leds/leds-lp5521.c')
0 files changed, 0 insertions, 0 deletions