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)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 4 May 2016 21:41:14 +0000 (23:41 +0200)
commitf6a4790a5471d7cba406d87f6b41323f40bb93d2
tree45f03e6a19e3db9aeddeab3fb1409c421a70acb3
parent04974df8049fc4240d22759a91e035082ccd18b4
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>
drivers/video/backlight/backlight.c
include/linux/backlight.h