aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/ab8500-gpio.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-04-23 23:38:19 -0400
committerJiri Kosina <jkosina@suse.cz>2011-04-26 04:24:37 -0400
commit85ee7a1d39d75d23d21f3871f6dc9b87d572747a (patch)
tree210097981b572bd3e204a48ad2f1d2ae18586311 /drivers/gpio/ab8500-gpio.c
parent07f9479a40cc778bc1462ada11f95b01360ae4ff (diff)
treewide: cleanup continuations and remove logging message whitespace
Using C line continuation inside format strings is error prone. Clean up the unintended whitespace introduced by misuse of \. Neaten correctly used line continations as well for consistency. drivers/scsi/arcmsr/arcmsr_hba.c has these errors as well, but arcmsr needs a lot more work and the driver should likely be moved to staging instead. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/gpio/ab8500-gpio.c')
-rw-r--r--drivers/gpio/ab8500-gpio.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpio/ab8500-gpio.c b/drivers/gpio/ab8500-gpio.c
index e7b834d054b7..970053c89ff7 100644
--- a/drivers/gpio/ab8500-gpio.c
+++ b/drivers/gpio/ab8500-gpio.c
@@ -482,8 +482,8 @@ static int __devexit ab8500_gpio_remove(struct platform_device *pdev)
482 482
483 ret = gpiochip_remove(&ab8500_gpio->chip); 483 ret = gpiochip_remove(&ab8500_gpio->chip);
484 if (ret < 0) { 484 if (ret < 0) {
485 dev_err(ab8500_gpio->dev, "unable to remove gpiochip:\ 485 dev_err(ab8500_gpio->dev, "unable to remove gpiochip: %d\n",
486 %d\n", ret); 486 ret);
487 return ret; 487 return ret;
488 } 488 }
489 489
@@ -516,7 +516,6 @@ static void __exit ab8500_gpio_exit(void)
516module_exit(ab8500_gpio_exit); 516module_exit(ab8500_gpio_exit);
517 517
518MODULE_AUTHOR("BIBEK BASU <bibek.basu@stericsson.com>"); 518MODULE_AUTHOR("BIBEK BASU <bibek.basu@stericsson.com>");
519MODULE_DESCRIPTION("Driver allows to use AB8500 unused pins\ 519MODULE_DESCRIPTION("Driver allows to use AB8500 unused pins to be used as GPIO");
520 to be used as GPIO");
521MODULE_ALIAS("AB8500 GPIO driver"); 520MODULE_ALIAS("AB8500 GPIO driver");
522MODULE_LICENSE("GPL v2"); 521MODULE_LICENSE("GPL v2");