diff options
author | Aaron Lu <aaron.lu@intel.com> | 2016-04-27 20:45:03 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-05-04 23:41:14 +0200 |
commit | 01c3664de62f89f6777e59173ad8e20b5a4c267f (patch) | |
tree | 3c3ea42d9813632552043ed0210eaf91393d1d58 /drivers/video | |
parent | f6a4790a5471d7cba406d87f6b41323f40bb93d2 (diff) | |
download | linux-01c3664de62f89f6777e59173ad8e20b5a4c267f.tar.gz linux-01c3664de62f89f6777e59173ad8e20b5a4c267f.tar.xz |
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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/backlight/backlight.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/video/backlight/backlight.c b/drivers/video/backlight/backlight.c index 18901b9b1eb4..288318ad21dd 100644 --- a/drivers/video/backlight/backlight.c +++ b/drivers/video/backlight/backlight.c @@ -407,12 +407,6 @@ struct backlight_device *backlight_device_get_by_type(enum backlight_type type) } EXPORT_SYMBOL(backlight_device_get_by_type); -bool backlight_device_registered(enum backlight_type type) -{ - return backlight_device_get_by_type(type) ? true : false; -} -EXPORT_SYMBOL(backlight_device_registered); - /** * backlight_device_unregister - unregisters a backlight device object. * @bd: the backlight device object to be unregistered and freed. |