diff options
| author | Alexander Shiyan <shc_work@mail.ru> | 2014-02-15 00:56:23 -0500 |
|---|---|---|
| committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-02-28 05:35:22 -0500 |
| commit | b7d2d37276c1dce86d9a55239f0686e1bd81a37f (patch) | |
| tree | 2c097b5b22a20a6d71feff442425158929bdf564 /include/linux/platform_data | |
| parent | 2516ae8a69c3e21771cd0095a0dd10160fa055a4 (diff) | |
video: imxfb: Remove unused fields from platform data structure
Some fields in platform data structure is never used by boards.
This patch removes these fields and as a result optimizes private
driver structure a bit. Additionally patch removes backligh_power()
callback, so if it will be needed in the future, this feature should
be added as pwm{gpio,etc.}-regulator to the board code or in the DTS.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/video-imxfb.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/platform_data/video-imxfb.h b/include/linux/platform_data/video-imxfb.h index dd1bed97683c..18e908324549 100644 --- a/include/linux/platform_data/video-imxfb.h +++ b/include/linux/platform_data/video-imxfb.h | |||
| @@ -61,22 +61,12 @@ struct imx_fb_platform_data { | |||
| 61 | struct imx_fb_videomode *mode; | 61 | struct imx_fb_videomode *mode; |
| 62 | int num_modes; | 62 | int num_modes; |
| 63 | 63 | ||
| 64 | u_int cmap_greyscale:1, | ||
| 65 | cmap_inverse:1, | ||
| 66 | cmap_static:1, | ||
| 67 | unused:29; | ||
| 68 | |||
| 69 | u_int pwmr; | 64 | u_int pwmr; |
| 70 | u_int lscr1; | 65 | u_int lscr1; |
| 71 | u_int dmacr; | 66 | u_int dmacr; |
| 72 | 67 | ||
| 73 | u_char * fixed_screen_cpu; | ||
| 74 | dma_addr_t fixed_screen_dma; | ||
| 75 | |||
| 76 | int (*init)(struct platform_device *); | 68 | int (*init)(struct platform_device *); |
| 77 | void (*exit)(struct platform_device *); | 69 | void (*exit)(struct platform_device *); |
| 78 | |||
| 79 | void (*backlight_power)(int); | ||
| 80 | }; | 70 | }; |
| 81 | 71 | ||
| 82 | #endif /* ifndef __MACH_IMXFB_H__ */ | 72 | #endif /* ifndef __MACH_IMXFB_H__ */ |
