]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
drivers: char: misc: Replace "foo * bar" with "foo *bar".
authorVarsha Rao <rvarsha016@gmail.com>
Fri, 7 Apr 2017 11:28:54 +0000 (16:58 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 15:53:06 +0000 (17:53 +0200)
Remove space after * in pointer type, to follow linux coding style. This
patch fixes the following checkpatch issue:

ERROR: "foo * bar" should be "foo *bar"

Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/misc.c

index 8069b361b8dd1ce2363afff0bf4eb6eef5e5fc1c..ed8f79c630e757035e42b226047e0dfeb1c9f238 100644 (file)
@@ -109,7 +109,7 @@ static const struct file_operations misc_proc_fops = {
 };
 #endif
 
-static int misc_open(struct inode * inode, struct file * file)
+static int misc_open(struct inode *inode, struct file *file)
 {
        int minor = iminor(inode);
        struct miscdevice *c;
@@ -182,7 +182,7 @@ static const struct file_operations misc_fops = {
  *     failure.
  */
 
-int misc_register(struct miscdevice * misc)
+int misc_register(struct miscdevice *misc)
 {
        dev_t dev;
        int err = 0;