[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1413052078-2419-1-git-send-email-rahulbedarkar89@gmail.com>
Date: Sat, 11 Oct 2014 23:57:58 +0530
From: Rahul Bedarkar <rahulbedarkar89@...il.com>
To: Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org,
Rahul Bedarkar <rahulbedarkar89@...il.com>
Subject: [PATCH] char: misc: fix coding style issues
This patch fixes checkpatch.pl error
ERROR: "foo * bar" should be "foo *bar"
Signed-off-by: Rahul Bedarkar <rahulbedarkar89@...il.com>
---
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists