diff options
author | Milo Kim <milo.kim@ti.com> | 2015-07-20 09:45:38 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-08-25 10:40:44 +0300 |
commit | fe009175ae3ec3724c1414440e22a1d32d806ec5 (patch) | |
tree | f8d85f662cfe1001ef4409718f4fe4b3634c504b /drivers/video/backlight/locomolcd.c | |
parent | bc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff) | |
download | linux-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/locomolcd.c')
0 files changed, 0 insertions, 0 deletions