Staging: fbtft: Remove unused macros
Subsystems (2)
PATCH 1/1 Staging: fbtft: Remove unused macros
Remove the macros since they are defined but not used
--- drivers/staging/fbtft/fb_watterott.c | 3 --- 1 file changed, 3 deletions(-)
drivers/staging/fbtft/fb_watterott.c +0 -3
@@ -31,12 +31,9 @@#define CMD_VERSION 0x01#define CMD_LCD_LED 0x10 -#define CMD_LCD_RESET 0x11#define CMD_LCD_ORIENTATION 0x20#define CMD_LCD_DRAWIMAGE 0x27 -#define COLOR_RGB323 8#define COLOR_RGB332 9 -#define COLOR_RGB233 10#define COLOR_RGB565 16static short mode =565 ;
Signature · 1 line
2.1.4
Greg KH
maintainerQuoted 3 lines · Shraddha Barke
Remove the macros since they are defined but not used
Signed-off-by Shraddha Barke <[email protected]>
Like I mentioned for other patches yesterday, this is not ok, please leave #defines that describe hardware present in the driver, even if they are not used, as they help people understand how the hardware works and might be needed in the future.
thanks,
greg k-h
Quoted 9 lines · Greg KH
Quoted 3 lines · Shraddha Barke
Remove the macros since they are defined but not used
Signed-off-by Shraddha Barke <[email protected]>Like I mentioned for other patches yesterday, this is not ok, please leave #defines that describe hardware present in the driver, even if they are not used, as they help people understand how the hardware works and might be needed in the future.
Yes I got it. Sorry about that.
Shraddha
Quoted 5 lines
thanks,
greg k-h