aboutsummaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2024-03-19 10:37:21 +0100
committerLee Jones <[email protected]>2024-03-28 10:12:49 +0000
commitb7ad4c67ed945524ab38bd61676e684eff84fc2a (patch)
tree3c500db3aa37cabb6127bcc70c3f162ed7e0c88f /include/linux/platform_data
parent899dbfb28b7941c381431a05c4a9ada42daf9507 (diff)
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 <[email protected]> Reviewed-by: Sam Ravnborg <[email protected]> Reviewed-by: Daniel Thompson <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/omap1_bl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/platform_data/omap1_bl.h b/include/linux/platform_data/omap1_bl.h
index 5e8b17d77a5f..3d0bab31a0a9 100644
--- a/include/linux/platform_data/omap1_bl.h
+++ b/include/linux/platform_data/omap1_bl.h
@@ -6,7 +6,6 @@
struct omap_backlight_config {
int default_intensity;
- int (*set_power)(struct device *dev, int state);
};
#endif