diff mbox

[U-Boot] nios2: remove the useless parenthesis in asm/io.h

Message ID 1446123819-8346-1-git-send-email-thomas@wytron.com.tw
State Accepted, archived
Delegated to: Thomas Chou
Headers show

Commit Message

Thomas Chou Oct. 29, 2015, 1:03 p.m. UTC
Remove the useless parenthesis in asm/io.h as suggested
by Marek.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
---
 arch/nios2/include/asm/io.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Marek Vasut Oct. 29, 2015, 1:15 p.m. UTC | #1
On Thursday, October 29, 2015 at 02:03:39 PM, Thomas Chou wrote:
> Remove the useless parenthesis in asm/io.h as suggested
> by Marek.
> 
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>

Yes, this patch does not break anything ;-)

Tested-by: Marek Vasut <marex@denx.de>

Acked-by: Marek Vasut <marex@denx.de>

Best regards,
Marek Vasut
Thomas Chou Nov. 3, 2015, 5:17 a.m. UTC | #2
On 2015年10月29日 21:03, Thomas Chou wrote:
> Remove the useless parenthesis in asm/io.h as suggested
> by Marek.
>
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
> ---
>   arch/nios2/include/asm/io.h | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)
>

Applied to u-boot-nios.
diff mbox

Patch

diff --git a/arch/nios2/include/asm/io.h b/arch/nios2/include/asm/io.h
index 3443408..03a3418 100644
--- a/arch/nios2/include/asm/io.h
+++ b/arch/nios2/include/asm/io.h
@@ -18,10 +18,10 @@  static inline void sync(void)
  * that can be used to access the memory range with the caching
  * properties specified by "flags".
  */
-#define MAP_NOCACHE	(1)
-#define MAP_WRCOMBINE	(0)
-#define MAP_WRBACK	(0)
-#define MAP_WRTHROUGH	(0)
+#define MAP_NOCACHE	1
+#define MAP_WRCOMBINE	0
+#define MAP_WRBACK	0
+#define MAP_WRTHROUGH	0
 
 static inline void *
 map_physmem(phys_addr_t paddr, unsigned long len, unsigned long flags)