diff options
author | Varsha Rao <rvarsha016@gmail.com> | 2017-04-07 16:58:54 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-08 17:53:06 +0200 |
commit | 65ebd3dfe79553b294f893ad2b6f54f8b8680e44 (patch) | |
tree | 4ec4b33e8b558d07c5c101a60f80239855fd02da /drivers/char | |
parent | 0642bac7da4240912c3e923a7d1c47af3dd89b9d (diff) | |
download | linux-65ebd3dfe79553b294f893ad2b6f54f8b8680e44.tar.bz2 |
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 <rvarsha016@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |