mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: sunran001@208suo.com
To: krzysztof.kozlowski@linaro.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] w1: add missing spaces before '*' and remove spaces after '*'
Date: Thu, 20 Jul 2023 11:17:05 +0800	[thread overview]
Message-ID: <f848628eeaec2a6613c2da4f5d235577@208suo.com> (raw)
In-Reply-To: <20230720031545.1702-1-xujianghui@cdjrlc.com>

Add missing spaces to clear checkpatch errors.

ERROR: "foo* bar" should be "foo *bar"

Signed-off-by: Ran Sun <sunran001@208suo.com>
---
  include/linux/w1.h | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/linux/w1.h b/include/linux/w1.h
index 9a2a0ef39018..70188da81d04 100644
--- a/include/linux/w1.h
+++ b/include/linux/w1.h
@@ -304,17 +304,17 @@ int w1_reset_select_slave(struct w1_slave *sl);
  int w1_reset_resume_command(struct w1_master *);
  void w1_next_pullup(struct w1_master *, int);

-static inline struct w1_slave* dev_to_w1_slave(struct device *dev)
+static inline struct w1_slave *dev_to_w1_slave(struct device *dev)
  {
  	return container_of(dev, struct w1_slave, dev);
  }

-static inline struct w1_slave* kobj_to_w1_slave(struct kobject *kobj)
+static inline struct w1_slave *kobj_to_w1_slave(struct kobject *kobj)
  {
  	return dev_to_w1_slave(container_of(kobj, struct device, kobj));
  }

-static inline struct w1_master* dev_to_w1_master(struct device *dev)
+static inline struct w1_master *dev_to_w1_master(struct device *dev)
  {
  	return container_of(dev, struct w1_master, dev);
  }

       reply	other threads:[~2023-07-20  3:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20230720031545.1702-1-xujianghui@cdjrlc.com>
2023-07-20  3:17 ` sunran001 [this message]
2023-07-20  3:21 ` sunran001

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=f848628eeaec2a6613c2da4f5d235577@208suo.com \
    --to=sunran001@208suo.com \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    /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®