All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: kpc2000: remove extra white space in kpc2000_spi.c
@ 2019-06-10  5:43 Naoto Kobayashi
  0 siblings, 0 replies; only message in thread
From: Naoto Kobayashi @ 2019-06-10  5:43 UTC (permalink / raw)
  To: gregkh, gneukum1, jeremy, maowenan; +Cc: Naoto Kobayashi, devel, linux-kernel

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@gmail.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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-06-10  5:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-10  5:43 [PATCH] staging: kpc2000: remove extra white space in kpc2000_spi.c Naoto Kobayashi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.