[PATCH] powerpc: remove redundant space
Jingyu Wang
jingyuwang_vip at 163.com
Wed Sep 7 01:32:55 AEST 2022
This commit remmove redundant space in arch/powerpc/sysdev/mmio_nvram.c
Signed-off-by: Jingyu Wang <jingyuwang_vip at 163.com>
---
arch/powerpc/sysdev/mmio_nvram.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/sysdev/mmio_nvram.c b/arch/powerpc/sysdev/mmio_nvram.c
index eb48210ef98e..cc15b161ada6 100644
--- a/arch/powerpc/sysdev/mmio_nvram.c
+++ b/arch/powerpc/sysdev/mmio_nvram.c
@@ -35,7 +35,7 @@ static ssize_t mmio_nvram_read(char *buf, size_t count, loff_t *index)
memcpy_fromio(buf, mmio_nvram_start + *index, count);
spin_unlock_irqrestore(&mmio_nvram_lock, flags);
-
+
*index += count;
return count;
}
@@ -71,7 +71,7 @@ static ssize_t mmio_nvram_write(char *buf, size_t count, loff_t *index)
memcpy_toio(mmio_nvram_start + *index, buf, count);
spin_unlock_irqrestore(&mmio_nvram_lock, flags);
-
+
*index += count;
return count;
}
@@ -117,7 +117,7 @@ int __init mmio_nvram_init(void)
}
nvram_addr = r.start;
mmio_nvram_len = resource_size(&r);
- if ( (!mmio_nvram_len) || (!nvram_addr) ) {
+ if ((!mmio_nvram_len) || (!nvram_addr)) {
printk(KERN_WARNING "nvram: address or length is 0\n");
ret = -EIO;
goto out;
base-commit: e47eb90a0a9ae20b82635b9b99a8d0979b757ad8
--
2.34.1
More information about the Linuxppc-dev
mailing list