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)
commit01c3664de62f89f6777e59173ad8e20b5a4c267f
tree3c3ea42d9813632552043ed0210eaf91393d1d58
parentf6a4790a5471d7cba406d87f6b41323f40bb93d2
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