UPSTREAM: video / backlight: add two APIs for drivers to use
authorAaron Lu <aaron.lu@intel.com>
Wed, 27 Apr 2016 12:45:02 +0000 (20:45 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 6 Mar 2017 10:28:40 +0000 (18:28 +0800)
commit2d30b518c95713c3658ce6fa36890f03d2b77d67
treec6ab1b52efe67dbcff0246dd60414fb4a870e219
parent8c232cdec7ff531e5cb12cde076ac99f06ae7c34
UPSTREAM: video / backlight: add two APIs for drivers to use

It is useful to get the backlight device's pointer and use it to set
backlight in some cases(the following patch will make use of it) so add
the two APIs and export them.

Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit f6a4790a5471d7cba406d87f6b41323f40bb93d2)

Change-Id: Ia7d06bf600f86ae25939b830e49f5057f48f992d
Signed-off-by: David Wu <david.wu@rock-chips.com>
drivers/video/backlight/backlight.c
include/linux/backlight.h