summaryrefslogtreecommitdiff
path: root/drivers/video/backlight/pm8941-wled.c
diff options
context:
space:
mode:
authorMilo Kim <milo.kim@ti.com>2015-07-20 06:45:38 (GMT)
committerLee Jones <lee.jones@linaro.org>2015-08-25 07:40:44 (GMT)
commitfe009175ae3ec3724c1414440e22a1d32d806ec5 (patch)
treef8d85f662cfe1001ef4409718f4fe4b3634c504b /drivers/video/backlight/pm8941-wled.c
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff)
downloadlinux-fe009175ae3ec3724c1414440e22a1d32d806ec5.tar.xz
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/video/backlight/pm8941-wled.c')
0 files changed, 0 insertions, 0 deletions