* [PATCH] ssb: Clean up errors in ssb.h
@ 2023-10-13 3:15 chenguohua
2023-10-19 6:54 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: chenguohua @ 2023-10-13 3:15 UTC (permalink / raw)
To: m; +Cc: linux-wireless, linux-kernel
Fix the following errors reported by checkpatch:
ERROR: "foo * bar" should be "foo *bar"
Signed-off-by: GuoHua Cheng <chenguohua@jari.cn>
---
include/linux/ssb/ssb.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/linux/ssb/ssb.h b/include/linux/ssb/ssb.h
index 1f326da289d3..b6a674719a27 100644
--- a/include/linux/ssb/ssb.h
+++ b/include/linux/ssb/ssb.h
@@ -285,7 +285,7 @@ struct ssb_device {
/* Go from struct device to struct ssb_device. */
static inline
-struct ssb_device * dev_to_ssb_dev(const struct device *dev)
+struct ssb_device *dev_to_ssb_dev(const struct device *dev)
{
struct __ssb_dev_wrapper *wrap;
wrap = container_of(dev, struct __ssb_dev_wrapper, dev);
@@ -299,7 +299,7 @@ void ssb_set_drvdata(struct ssb_device *dev, void *data)
dev->drvdata = data;
}
static inline
-void * ssb_get_drvdata(struct ssb_device *dev)
+void *ssb_get_drvdata(struct ssb_device *dev)
{
return dev->drvdata;
}
@@ -307,7 +307,7 @@ void * ssb_get_drvdata(struct ssb_device *dev)
/* Devicetype specific user data. This is per device-type (not per device) */
void ssb_set_devtypedata(struct ssb_device *dev, void *data);
static inline
-void * ssb_get_devtypedata(struct ssb_device *dev)
+void *ssb_get_devtypedata(struct ssb_device *dev)
{
return dev->devtypedata;
}
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-19 6:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-13 3:15 [PATCH] ssb: Clean up errors in ssb.h chenguohua
2023-10-19 6:54 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®