diff options
author | Milo Kim <[email protected]> | 2015-07-20 15:45:38 +0900 |
---|---|---|
committer | Lee Jones <[email protected]> | 2015-08-25 08:40:44 +0100 |
commit | fe009175ae3ec3724c1414440e22a1d32d806ec5 (patch) | |
tree | f8d85f662cfe1001ef4409718f4fe4b3634c504b /lib/mpi/mpiutil.c | |
parent | bc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff) |
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 <[email protected]>
Acked-by: Sean Paul <[email protected]>
Acked-by: Jingoo Han <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions