Commit b5b2e006 authored by Franziska Naepelt's avatar Franziska Naepelt Committed by Tony Lindgren

ARM: omap: Fix checkpatch issues

This removes the following checkpatch issues:
- ERROR: space required after that ',' (ctx:VxV)
- WARNING: Comparisons should place the constant on the right side of the test
Signed-off-by: default avatarFranziska Naepelt <franziska.naepelt@gmail.com>
Message-Id: <20230530182403.35646-1-franziska.naepelt@gmail.com>
[tony@atomide.com: add space also around '-' in addition to ',']
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent ac9a7868
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#define OMAP1_SRAM_PA 0x20000000 #define OMAP1_SRAM_PA 0x20000000
#define SRAM_BOOTLOADER_SZ 0x80 #define SRAM_BOOTLOADER_SZ 0x80
#define ROUND_DOWN(value,boundary) ((value) & (~((boundary)-1))) #define ROUND_DOWN(value, boundary) ((value) & (~((boundary) - 1)))
static void __iomem *omap_sram_base; static void __iomem *omap_sram_base;
static unsigned long omap_sram_start; static unsigned long omap_sram_start;
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
#define GP_DEVICE 0x300 #define GP_DEVICE 0x300
#define ROUND_DOWN(value,boundary) ((value) & (~((boundary)-1))) #define ROUND_DOWN(value, boundary) ((value) & (~((boundary) - 1)))
static unsigned long omap_sram_start; static unsigned long omap_sram_start;
static unsigned long omap_sram_size; static unsigned long omap_sram_size;
...@@ -118,7 +118,7 @@ static void omap_sram_reset(void) ...@@ -118,7 +118,7 @@ static void omap_sram_reset(void)
*/ */
static int is_sram_locked(void) static int is_sram_locked(void)
{ {
if (OMAP2_DEVICE_TYPE_GP == omap_type()) { if (omap_type() == OMAP2_DEVICE_TYPE_GP) {
/* RAMFW: R/W access to all initiators for all qualifier sets */ /* RAMFW: R/W access to all initiators for all qualifier sets */
if (cpu_is_omap242x()) { if (cpu_is_omap242x()) {
writel_relaxed(0xFF, OMAP24XX_VA_REQINFOPERM0); /* all q-vects */ writel_relaxed(0xFF, OMAP24XX_VA_REQINFOPERM0); /* all q-vects */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment