diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-02-15 09:56:23 +0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-02-28 12:35:22 +0200 |
commit | b7d2d37276c1dce86d9a55239f0686e1bd81a37f (patch) | |
tree | 2c097b5b22a20a6d71feff442425158929bdf564 /include/linux/platform_data | |
parent | 2516ae8a69c3e21771cd0095a0dd10160fa055a4 (diff) | |
download | linux-stable-b7d2d37276c1dce86d9a55239f0686e1bd81a37f.tar.gz linux-stable-b7d2d37276c1dce86d9a55239f0686e1bd81a37f.tar.bz2 linux-stable-b7d2d37276c1dce86d9a55239f0686e1bd81a37f.zip |
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 { struct imx_fb_videomode *mode; int num_modes; - u_int cmap_greyscale:1, - cmap_inverse:1, - cmap_static:1, - unused:29; - u_int pwmr; u_int lscr1; u_int dmacr; - u_char * fixed_screen_cpu; - dma_addr_t fixed_screen_dma; - int (*init)(struct platform_device *); void (*exit)(struct platform_device *); - - void (*backlight_power)(int); }; #endif /* ifndef __MACH_IMXFB_H__ */ |