[PATCH v3 03/13] video: omap: fix coding style on use of spaces

Dario Binacchi dariobin at libero.it
Sat Feb 22 14:05:39 CET 2020


Use one space around (on each side of) the binary '-' operator.

Signed-off-by: Dario Binacchi <dariobin at libero.it>
---

Changes in v3: None
Changes in v2: None

 drivers/video/am335x-fb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/am335x-fb.c b/drivers/video/am335x-fb.c
index 4fd3b7f65a..92e37bd1e0 100644
--- a/drivers/video/am335x-fb.c
+++ b/drivers/video/am335x-fb.c
@@ -44,7 +44,7 @@
 #define LCD_HFPLSB(x)			((((x) - 1) & GENMASK(7, 0)) << 16)
 #define LCD_HSWLSB(x)			((((x) - 1) & GENMASK(5, 0)) << 10)
 #define LCD_HORLSB(x)		(((((x) >> 4) - 1) & GENMASK(5, 0)) << 4)
-#define LCD_HORMSB(x)				(((((x) >> 4)-1) & 0x40) >> 4)
+#define LCD_HORMSB(x)				(((((x) >> 4) - 1) & 0x40) >> 4)
 /* LCD Timing_1 Register */
 #define LCD_VBP(x)				(((x) & GENMASK(7, 0)) << 24)
 #define LCD_VFP(x)				(((x) & GENMASK(7, 0)) << 16)
-- 
2.17.1



More information about the U-Boot mailing list