Title: [7378] trunk/drivers/input/keyboard/adp5520-keys.c: adp5520-keys: tweak code style
Revision
7378
Author
vapier
Date
2009-09-17 20:16:04 -0400 (Thu, 17 Sep 2009)

Log Message

adp5520-keys: tweak code style

Modified Paths


Diff

Modified: trunk/drivers/input/keyboard/adp5520-keys.c (7377 => 7378)


--- trunk/drivers/input/keyboard/adp5520-keys.c	2009-09-18 00:15:41 UTC (rev 7377)
+++ trunk/drivers/input/keyboard/adp5520-keys.c	2009-09-18 00:16:04 UTC (rev 7378)
@@ -14,8 +14,8 @@
 #include <linux/mfd/adp5520.h>
 
 struct adp5520_keys {
-	struct input_dev	*input;
-	struct notifier_block	notifier;
+	struct input_dev *input;
+	struct notifier_block notifier;
 	struct device *master;
 	unsigned short keycode[ADP5520_KEYMAPSIZE];
 };
@@ -134,8 +134,7 @@
 
 	ret = input_register_device(input);
 	if (ret) {
-		dev_err(&pdev->dev,
-			": Unable to register input device (%d)\n", ret);
+		dev_err(&pdev->dev, "unable to register input device\n");
 		input_free_device(input);
 		goto err;
 	}
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to