From: Varsha Rao Date: Fri, 7 Apr 2017 11:28:54 +0000 (+0530) Subject: drivers: char: misc: Replace "foo * bar" with "foo *bar". X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=65ebd3dfe79553b294f893ad2b6f54f8b8680e44;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drivers: char: misc: Replace "foo * bar" with "foo *bar". 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/char/misc.c b/drivers/char/misc.c index 8069b361b8dd..ed8f79c630e7 100644 --- a/drivers/char/misc.c +++ b/drivers/char/misc.c @@ -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;