History

drm: renesas: shmobile: Remove backlight support

Backlight support should be implemented by panels, not by the LCDC driver. As the feature is currently unused anyway, remove it.

Laurent Pinchart committed 3 years ago

Commit 0da28d51 parent 7802ca68 files · +7 −150Browse files

Showing the changes to include/linux/platform_data (1 of 8 files). Show all

Unified · Split

include/linux/platform_data/shmob_drm.h+0−8
@@ -40,13 +40,6 @@ enum shmob_drm_interface { · 39 unmodified lines
40 SHMOB_DRM_IFACE_SYS24, /* 24bpp */40 SHMOB_DRM_IFACE_SYS24, /* 24bpp */
41};41};
42 42
43struct 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
50struct shmob_drm_panel_data {43struct shmob_drm_panel_data {
51 unsigned int width_mm; /* Panel width in mm */44 unsigned int width_mm; /* Panel width in mm */
52 unsigned int height_mm; /* Panel height in mm */45 unsigned int height_mm; /* Panel height in mm */
@@ -83,7 +76,6 @@ struct shmob_drm_platform_data { · 30 unmodified lines
83 enum shmob_drm_clk_source clk_source;76 enum shmob_drm_clk_source clk_source;
84 struct shmob_drm_interface_data iface;77 struct shmob_drm_interface_data iface;
85 struct shmob_drm_panel_data panel;78 struct shmob_drm_panel_data panel;
86 struct shmob_drm_backlight_data backlight;
87};79};
88 80
89#endif /* __SHMOB_DRM_H__ */81#endif /* __SHMOB_DRM_H__ */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t