aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/backlight.h
diff options
context:
space:
mode:
authorAaron Lu <aaron.lu@intel.com>2016-04-27 20:45:03 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-05-04 23:41:14 +0200
commit01c3664de62f89f6777e59173ad8e20b5a4c267f (patch)
tree3c3ea42d9813632552043ed0210eaf91393d1d58 /include/linux/backlight.h
parentvideo / backlight: add two APIs for drivers to use (diff)
downloadlinux-dev-01c3664de62f89f6777e59173ad8e20b5a4c267f.tar.xz
linux-dev-01c3664de62f89f6777e59173ad8e20b5a4c267f.zip
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 'include/linux/backlight.h')
-rw-r--r--include/linux/backlight.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/backlight.h b/include/linux/backlight.h
index f46b88fa4a09..5f2fd61ef4fb 100644
--- a/include/linux/backlight.h
+++ b/include/linux/backlight.h
@@ -141,7 +141,6 @@ extern void devm_backlight_device_unregister(struct device *dev,
struct backlight_device *bd);
extern void backlight_force_update(struct backlight_device *bd,
enum backlight_update_reason reason);
-extern bool backlight_device_registered(enum backlight_type type);
extern int backlight_register_notifier(struct notifier_block *nb);
extern int backlight_unregister_notifier(struct notifier_block *nb);
extern struct backlight_device *backlight_device_get_by_type(enum backlight_type type);