mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: hanyu001@208suo.com
To: linus.walleij@linaro.org, brgl@bgdev.pl
Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] drivers: gpio: Remove unnecessary spaces
Date: Thu, 20 Jul 2023 14:55:37 +0800	[thread overview]
Message-ID: <6c89e70749c462d441bd0c157d260570@208suo.com> (raw)
In-Reply-To: <tencent_E888A1BD4167B61E1D3EF3F8488A8B148A08@qq.com>

Fix checkpatch warnings:

./drivers/gpio/gpio-pca953x.c:1352: ERROR: space prohibited after that 
open parenthesis '('
./drivers/gpio/gpio-pca953x.c:1353: ERROR: space prohibited after that 
open parenthesis '('
./drivers/gpio/gpio-pca953x.c:1354: ERROR: space prohibited after that 
open parenthesis '('
./drivers/gpio/gpio-pca953x.c:1359: ERROR: space prohibited after that 
open parenthesis '('
./drivers/gpio/gpio-pca953x.c:1360: ERROR: space prohibited after that 
open parenthesis '('

Signed-off-by: Yu Han <hanyu001@208suo.com>
---
  drivers/gpio/gpio-pca953x.c | 10 +++++-----
  1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c
index a806a3c..7f4f7ee 100644
--- a/drivers/gpio/gpio-pca953x.c
+++ b/drivers/gpio/gpio-pca953x.c
@@ -1349,15 +1349,15 @@ static int pca953x_resume(struct device *dev)
      { .compatible = "maxim,max7315", .data = OF_953X( 8, PCA_INT), },
      { .compatible = "maxim,max7318", .data = OF_953X(16, PCA_INT), },

-    { .compatible = "ti,pca6107", .data = OF_953X( 8, PCA_INT), },
-    { .compatible = "ti,pca9536", .data = OF_953X( 4, 0), },
-    { .compatible = "ti,tca6408", .data = OF_953X( 8, PCA_INT), },
+    { .compatible = "ti,pca6107", .data = OF_953X(8, PCA_INT), },
+    { .compatible = "ti,pca9536", .data = OF_953X(4, 0), },
+    { .compatible = "ti,tca6408", .data = OF_953X(8, PCA_INT), },
      { .compatible = "ti,tca6416", .data = OF_953X(16, PCA_INT), },
      { .compatible = "ti,tca6424", .data = OF_953X(24, PCA_INT), },
      { .compatible = "ti,tca9539", .data = OF_953X(16, PCA_INT), },

-    { .compatible = "onnn,cat9554", .data = OF_953X( 8, PCA_INT), },
-    { .compatible = "onnn,pca9654", .data = OF_953X( 8, PCA_INT), },
+    { .compatible = "onnn,cat9554", .data = OF_953X(8, PCA_INT), },
+    { .compatible = "onnn,pca9654", .data = OF_953X(8, PCA_INT), },
      { .compatible = "onnn,pca9655", .data = OF_953X(16, PCA_INT), },

      { .compatible = "exar,xra1202", .data = OF_953X( 8, 0), },

       reply	other threads:[~2023-07-20  6:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <tencent_E888A1BD4167B61E1D3EF3F8488A8B148A08@qq.com>
2023-07-20  6:55 ` hanyu001 [this message]
2023-07-20 14:52   ` Bartosz Golaszewski

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=6c89e70749c462d441bd0c157d260570@208suo.com \
    --to=hanyu001@208suo.com \
    --cc=brgl@bgdev.pl \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.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®