summaryrefslogtreecommitdiff
path: root/include/linux/backlight.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2020-07-19 11:07:32 +0300
committerLee Jones <lee.jones@linaro.org>2020-07-20 12:26:08 +0300
commit7ecdea4a0226f6c5cd0e86859d1b38cf17bc8529 (patch)
treeb7ed31f45cf8093342e1ac19d9b27622c471ffd2 /include/linux/backlight.h
parent2d15bb47f3331db979bd0a1987812ca1a3ff40c6 (diff)
downloadlinux-7ecdea4a0226f6c5cd0e86859d1b38cf17bc8529.tar.xz
backlight: generic_bl: Remove this driver as it is unused
The backlight_bl driver required initialization using struct generic_bl_info. As there are no more references to this struct there is no users left. So it is safe to delete the driver. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/backlight.h')
-rw-r--r--include/linux/backlight.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/backlight.h b/include/linux/backlight.h
index 1d56b34ff33c..d0f01dc3b98d 100644
--- a/include/linux/backlight.h
+++ b/include/linux/backlight.h
@@ -454,15 +454,6 @@ static inline void * bl_get_data(struct backlight_device *bl_dev)
return dev_get_drvdata(&bl_dev->dev);
}
-struct generic_bl_info {
- const char *name;
- int max_intensity;
- int default_intensity;
- int limit_mask;
- void (*set_bl_intensity)(int intensity);
- void (*kick_battery)(void);
-};
-
#ifdef CONFIG_OF
struct backlight_device *of_find_backlight_by_node(struct device_node *node);
#else