Backlight support should be implemented by panels, not by the LCDC driver. As the feature is currently unused anyway, remove it.
Showing the changes to include/linux/platform_data (1 of 8 files). Show all
Unified · Split
| @@ -40,13 +40,6 @@ enum shmob_drm_interface { · 39 unmodified lines | ||
| 40 | 40 | SHMOB_DRM_IFACE_SYS24, /* 24bpp */ |
| 41 | 41 | }; |
| 42 | 42 | |
| 43 | −struct shmob_drm_backlight_data { | |
| 44 | − const char *name; | |
| 45 | − int max_brightness; | |
| 46 | − int (*get_brightness)(void); | |
| 47 | − int (*set_brightness)(int brightness); | |
| 48 | −}; | |
| 49 | − | |
| 50 | 43 | struct shmob_drm_panel_data { |
| 51 | 44 | unsigned int width_mm; /* Panel width in mm */ |
| 52 | 45 | unsigned int height_mm; /* Panel height in mm */ |
| @@ -83,7 +76,6 @@ struct shmob_drm_platform_data { · 30 unmodified lines | ||
| 83 | 76 | enum shmob_drm_clk_source clk_source; |
| 84 | 77 | struct shmob_drm_interface_data iface; |
| 85 | 78 | struct shmob_drm_panel_data panel; |
| 86 | − struct shmob_drm_backlight_data backlight; | |
| 87 | 79 | }; |
| 88 | 80 | |
| 89 | 81 | #endif /* __SHMOB_DRM_H__ */ |