UPSTREAM: 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)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 6 Mar 2017 10:28:40 +0000 (18:28 +0800)
commit55d922eb73a185fef9b89ad758a04db25846c850
tree7a35659a7ca8fab222b4a4da69a8c3db0ffedb1c
parent2d30b518c95713c3658ce6fa36890f03d2b77d67
UPSTREAM: 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>
(cherry picked from commit 01c3664de62f89f6777e59173ad8e20b5a4c267f)

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