projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb8bb3a
)
extcon: gpio: Do not unnecessarily initialize variables
author
Guenter Roeck
<linux@roeck-us.net>
Fri, 30 Aug 2013 04:29:33 +0000
(21:29 -0700)
committer
Chanwoo Choi
<cw00.choi@samsung.com>
Fri, 27 Sep 2013 00:37:00 +0000
(09:37 +0900)
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-gpio.c
patch
|
blob
|
history
diff --git
a/drivers/extcon/extcon-gpio.c
b/drivers/extcon/extcon-gpio.c
index
f874c30
..
6368a0f
100644
(file)
--- a/
drivers/extcon/extcon-gpio.c
+++ b/
drivers/extcon/extcon-gpio.c
@@
-80,7
+80,7
@@
static int gpio_extcon_probe(struct platform_device *pdev)
{
struct gpio_extcon_platform_data *pdata = pdev->dev.platform_data;
struct gpio_extcon_data *extcon_data;
- int ret
= 0
;
+ int ret;
if (!pdata)
return -EBUSY;