2023-09-27 06:40:35

by chenguohua

[permalink] [raw]
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 <[email protected]>
---
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