]> git.baikalelectronics.ru Git - kernel.git/commit
video / backlight: remove the backlight_device_registered API
authorAaron Lu <aaron.lu@intel.com>
Wed, 27 Apr 2016 12:45:03 +0000 (20:45 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 4 May 2016 21:41:14 +0000 (23:41 +0200)
commit1af47896eb2992da8a8d24f909c0a6fbf182a9ab
tree3c3ea42d9813632552043ed0210eaf91393d1d58
parentf55305eed152116403feba58e6f2c01b3fcc2005
video / backlight: remove the backlight_device_registered API

Since we will need the backlight_device_get_by_type API, we can use it
instead of the backlight_device_registered API whenever necessary so
remove the backlight_device_registered API.

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/acpi/video_detect.c
drivers/video/backlight/backlight.c
include/linux/backlight.h