[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20190610054314.102880-1-naoto.kobayashi4c@gmail.com>
Date: Mon, 10 Jun 2019 14:43:14 +0900
From: Naoto Kobayashi <naoto.kobayashi4c@...il.com>
To: gregkh@...uxfoundation.org, gneukum1@...il.com, jeremy@...zel.net,
maowenan@...wei.com
Cc: Naoto Kobayashi <naoto.kobayashi4c@...il.com>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: [PATCH] staging: kpc2000: remove extra white space in kpc2000_spi.c
Since whitespace should not appear between asterisk and
variable name in a declaration statement, remove it and
fix checkpatch.pl error "foo * bar" should be "foo *bar".
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@...il.com>
---
drivers/staging/kpc2000/kpc2000_spi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/kpc2000/kpc2000_spi.c b/drivers/staging/kpc2000/kpc2000_spi.c
index 28132e9e260d..c3e5c1848f53 100644
--- a/drivers/staging/kpc2000/kpc2000_spi.c
+++ b/drivers/staging/kpc2000/kpc2000_spi.c
@@ -496,7 +496,7 @@ kp_spi_probe(struct platform_device *pldev)
static int
kp_spi_remove(struct platform_device *pldev)
{
- struct spi_master * master = platform_get_drvdata(pldev);
+ struct spi_master *master = platform_get_drvdata(pldev);
spi_unregister_master(master);
return 0;
}
--
2.16.5
Powered by blists - more mailing lists