aboutsummaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorDario Binacchi <dariobin@libero.it>2020-02-22 14:05:39 +0100
committerLokesh Vutla <lokeshvutla@ti.com>2020-03-03 13:08:14 +0530
commit3af43750df1ac5a0902ff26c932023cd5016ba10 (patch)
tree4af5c1b11a662c028e56282f1c309b2b3f0e1594 /drivers/video
parente3f82b80cdace4f8c6567cebed8431cabf39a71c (diff)
downloadu-boot-3af43750df1ac5a0902ff26c932023cd5016ba10.zip
u-boot-3af43750df1ac5a0902ff26c932023cd5016ba10.tar.gz
u-boot-3af43750df1ac5a0902ff26c932023cd5016ba10.tar.bz2
video: omap: fix coding style on use of spaces
Use one space around (on each side of) the binary '-' operator. Signed-off-by: Dario Binacchi <dariobin@libero.it>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/am335x-fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/am335x-fb.c b/drivers/video/am335x-fb.c
index 4fd3b7f..92e37bd 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)