video: discard empty video_set_lut implementation
authorPeng Fan <Peng.Fan@freescale.com>
Sat, 25 Jul 2015 12:59:35 +0000 (20:59 +0800)
committerAnatolij Gustschin <agust@denx.de>
Sun, 30 Aug 2015 21:57:07 +0000 (23:57 +0200)
Discard the empty video_set_lut function from platform video
drivers.

This commit "69d275458893eaec35229b589092c2a6bde5440f" introduces
a weak function video_set_lut, so we do not need an strong function
in platform drivers, which does nothing.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/video/da8xx-fb.c
drivers/video/mx3fb.c
drivers/video/mxc_ipuv3_fb.c

index 3a5f325cd30b97337c77280d5dc8877d2c86fceb..e2b2144d88020b9d73d2f2529da13d70f6bfe801 100644 (file)
@@ -1035,16 +1035,6 @@ err_release_fb:
        return NULL;
 }
 
-void video_set_lut(unsigned int index, /* color number */
-                   unsigned char r,    /* red */
-                   unsigned char g,    /* green */
-                   unsigned char b     /* blue */
-                   )
-{
-
-       return;
-}
-
 void da8xx_video_init(const struct da8xx_panel *panel,
                      const struct lcd_ctrl_config *lcd_cfg, int bits_pixel)
 {
index aa4cc433b908a842abb11a9c96cfc4abc8270fff..3f10d5c2d929b4e6233ad852d9e0c800f9e2835e 100644 (file)
@@ -904,12 +904,3 @@ void *video_hw_init(void)
 
        return (void *) &panel;
 }
-
-void video_set_lut(unsigned int index, /* color number */
-                   unsigned char r,    /* red */
-                   unsigned char g,    /* green */
-                   unsigned char b     /* blue */
-                   )
-{
-       return;
-}
index 1fa95314fc4621857114bcef2e98e50a60f163b7..265274b9d668ad6d2741657e8350b33886214eec 100644 (file)
@@ -599,15 +599,6 @@ void *video_hw_init(void)
        return (void *)&panel;
 }
 
-void video_set_lut(unsigned int index, /* color number */
-                       unsigned char r,    /* red */
-                       unsigned char g,    /* green */
-                       unsigned char b     /* blue */
-                       )
-{
-       return;
-}
-
 int ipuv3_fb_init(struct fb_videomode const *mode,
                  uint8_t disp,
                  uint32_t pixfmt)