lkml.org 
[lkml]   [2023]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] amba: Clean up errors in bus.h
Fix the following errors reported by checkpatch:

ERROR: space required after that ',' (ctx:VxV)

Signed-off-by: GuoHua Cheng <chenguohua@jari.cn>
---
include/linux/amba/bus.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/amba/bus.h b/include/linux/amba/bus.h
index c60a6a14638c..3b3a6cd8ebc0 100644
--- a/include/linux/amba/bus.h
+++ b/include/linux/amba/bus.h
@@ -110,7 +110,7 @@ extern struct bus_type amba_bustype;
#define to_amba_device(d) container_of_const(d, struct amba_device, dev)

#define amba_get_drvdata(d) dev_get_drvdata(&d->dev)
-#define amba_set_drvdata(d,p) dev_set_drvdata(&d->dev, p)
+#define amba_set_drvdata(d, p) dev_set_drvdata(&d->dev, p)

#ifdef CONFIG_ARM_AMBA
int amba_driver_register(struct amba_driver *);
--
2.17.1
\
 
 \ /
  Last update: 2023-09-27 18:53    [W:0.034 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site