Skip to contentSkip to conversation

char: misc: fix coding style issues

PATCH New Rahul Bedarkar 1 participant 1 message Oct 11, 2014 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 char: misc: fix coding style issues

This patch fixes checkpatch.pl error
ERROR: "foo * bar" should be "foo *bar"

---
 drivers/char/misc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/char/misc.c +2 -2
index ffa97d2..b4cf821 100644
@@ -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