staging: kpc2000: remove extra white space in kpc2000_spi.c
authorNaoto Kobayashi <naoto.kobayashi4c@gmail.com>
Mon, 10 Jun 2019 05:43:14 +0000 (14:43 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Jun 2019 15:53:05 +0000 (17:53 +0200)
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>
drivers/staging/kpc2000/kpc2000_spi.c

index 28132e9e260d005b89eb410cf2a0d1874c5c5ead..c3e5c1848f53feccde672b3d927872091793b766 100644 (file)
@@ -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;
 }