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(-)

diff --git a/drivers/char/misc.c b/drivers/char/misc.c
index ffa97d2..b4cf821 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;
@@ -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;
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to