drivers: char: misc: Add space after ','.

Add space which is required after ',' to follow linux coding style. This
patch fixes the checkpatch issue.

Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Varsha Rao 2017-04-07 17:01:31 +05:30 committed by Greg Kroah-Hartman
parent 65ebd3dfe7
commit 50a5e31479

View File

@ -150,7 +150,7 @@ static int misc_open(struct inode *inode, struct file *file)
err = 0; err = 0;
replace_fops(file, new_fops); replace_fops(file, new_fops);
if (file->f_op->open) if (file->f_op->open)
err = file->f_op->open(inode,file); err = file->f_op->open(inode, file);
fail: fail:
mutex_unlock(&misc_mtx); mutex_unlock(&misc_mtx);
return err; return err;
@ -287,7 +287,7 @@ static int __init misc_init(void)
goto fail_remove; goto fail_remove;
err = -EIO; err = -EIO;
if (register_chrdev(MISC_MAJOR,"misc",&misc_fops)) if (register_chrdev(MISC_MAJOR, "misc", &misc_fops))
goto fail_printk; goto fail_printk;
misc_class->devnode = misc_devnode; misc_class->devnode = misc_devnode;
return 0; return 0;