* [PATCH] drivers: gpio: Remove unnecessary spaces [not found] <tencent_E888A1BD4167B61E1D3EF3F8488A8B148A08@qq.com> @ 2023-07-20 6:55 ` hanyu001 2023-07-20 14:52 ` Bartosz Golaszewski 0 siblings, 1 reply; 2+ messages in thread From: hanyu001 @ 2023-07-20 6:55 UTC (permalink / raw) To: linus.walleij, brgl; +Cc: linux-gpio, linux-kernel 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), }, ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] drivers: gpio: Remove unnecessary spaces 2023-07-20 6:55 ` [PATCH] drivers: gpio: Remove unnecessary spaces hanyu001 @ 2023-07-20 14:52 ` Bartosz Golaszewski 0 siblings, 0 replies; 2+ messages in thread From: Bartosz Golaszewski @ 2023-07-20 14:52 UTC (permalink / raw) To: hanyu001; +Cc: linus.walleij, linux-gpio, linux-kernel On Thu, Jul 20, 2023 at 8:55 AM <hanyu001@208suo.com> wrote: > > 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), }, This doesn't apply to my for-next tree. And the commit message should be: "gpio: pca953x: ..." Bart ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-20 14:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <tencent_E888A1BD4167B61E1D3EF3F8488A8B148A08@qq.com>
2023-07-20 6:55 ` [PATCH] drivers: gpio: Remove unnecessary spaces hanyu001
2023-07-20 14:52 ` Bartosz Golaszewski
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®