summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2024-03-19 12:37:21 +0300
committerLee Jones <lee@kernel.org>2024-03-28 13:12:49 +0300
commitb7ad4c67ed945524ab38bd61676e684eff84fc2a (patch)
tree3c500db3aa37cabb6127bcc70c3f162ed7e0c88f /drivers/video
parent899dbfb28b7941c381431a05c4a9ada42daf9507 (diff)
downloadlinux-b7ad4c67ed945524ab38bd61676e684eff84fc2a.tar.xz
backlight: omap1: Remove unused struct omap_backlight_config.set_power
The callback set_power in struct omap_backlight_config is not implemented anywhere. Remove it from the structure and driver. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/20240319093915.31778-3-tzimmermann@suse.de Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/backlight/omap1_bl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/video/backlight/omap1_bl.c b/drivers/video/backlight/omap1_bl.c
index 69a49384b3de..84d148f38595 100644
--- a/drivers/video/backlight/omap1_bl.c
+++ b/drivers/video/backlight/omap1_bl.c
@@ -39,9 +39,6 @@ static inline void omapbl_send_enable(int enable)
static void omapbl_blank(struct omap_backlight *bl, int mode)
{
- if (bl->pdata->set_power)
- bl->pdata->set_power(bl->dev, mode);
-
switch (mode) {
case FB_BLANK_NORMAL:
case FB_BLANK_VSYNC_SUSPEND: