From: chenguohua@jari.cn
To: m@bues.ch
Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] ssb: Clean up errors in ssb.h
Date: Fri, 13 Oct 2023 11:15:16 +0800 (GMT+08:00) [thread overview]
Message-ID: <54aacb43.944.18b2707fa87.Coremail.chenguohua@jari.cn> (raw)
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
next reply other threads:[~2023-10-13 3:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-13 3:15 chenguohua [this message]
2023-10-19 6:54 ` Kalle Valo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54aacb43.944.18b2707fa87.Coremail.chenguohua@jari.cn \
--to=chenguohua@jari.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=m@bues.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®