Commit 65ebd3df authored by Varsha Rao's avatar Varsha Rao Committed by Greg Kroah-Hartman

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: default avatarVarsha Rao <rvarsha016@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0642bac7
...@@ -109,7 +109,7 @@ static const struct file_operations misc_proc_fops = { ...@@ -109,7 +109,7 @@ static const struct file_operations misc_proc_fops = {
}; };
#endif #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); int minor = iminor(inode);
struct miscdevice *c; struct miscdevice *c;
...@@ -182,7 +182,7 @@ static const struct file_operations misc_fops = { ...@@ -182,7 +182,7 @@ static const struct file_operations misc_fops = {
* failure. * failure.
*/ */
int misc_register(struct miscdevice * misc) int misc_register(struct miscdevice *misc)
{ {
dev_t dev; dev_t dev;
int err = 0; int err = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment