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>
pull/878/head
Thomas Zimmermann 2024-03-19 10:37:21 +01:00 committed by Lee Jones
parent 899dbfb28b
commit b7ad4c67ed
2 changed files with 0 additions and 4 deletions

View File

@ -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:

View File

@ -6,7 +6,6 @@
struct omap_backlight_config {
int default_intensity;
int (*set_power)(struct device *dev, int state);
};
#endif