summaryrefslogtreecommitdiff
path: root/drivers/staging/kpc2000
diff options
context:
space:
mode:
authorNaoto Kobayashi <naoto.kobayashi4c@gmail.com>2019-06-10 14:43:14 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-10 17:53:05 +0200
commit991661e673f6150ebadf1236fd0013ccea082707 (patch)
treebc6d6a7c25a24bbad7e1b1af5c95e0ede193da4f /drivers/staging/kpc2000
parent0f2692f7f2820aff5ebbda9723ddd63e800819cb (diff)
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@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/kpc2000')
-rw-r--r--drivers/staging/kpc2000/kpc2000_spi.c2
1 files changed, 1 insertions, 1 deletions
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 @@ free_master:
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;
}