char: misc: fix coding style issues
PATCH 1/1 char: misc: fix coding style issues
This patch fixes checkpatch.pl error
ERROR: "foo * bar" should be "foo *bar"
Signed-off-by Rahul Bedarkar <[email protected]>
--- drivers/char/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/char/misc.c +2 -2
@@ -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;
@@ -175,7 +175,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 ;
Signature · 1 line
1.8.3.2