From: Peng Fan Date: Sat, 25 Jul 2015 12:59:35 +0000 (+0800) Subject: video: discard empty video_set_lut implementation X-Git-Tag: KARO-TX6-2015-09-18~76 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=f77ff00ddb3b7b60d649ad8bef570fc81f6584cd video: discard empty video_set_lut implementation 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 Reviewed-by: Tom Rini --- diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 3a5f325cd3..e2b2144d88 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c @@ -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) { diff --git a/drivers/video/mx3fb.c b/drivers/video/mx3fb.c index aa4cc433b9..3f10d5c2d9 100644 --- a/drivers/video/mx3fb.c +++ b/drivers/video/mx3fb.c @@ -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; -}