Commit 1073514b authored by Guenter Roeck's avatar Guenter Roeck Committed by Chanwoo Choi

extcon: gpio: Do not unnecessarily initialize variables

Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
parent cb8bb3a7
...@@ -80,7 +80,7 @@ static int gpio_extcon_probe(struct platform_device *pdev) ...@@ -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_platform_data *pdata = pdev->dev.platform_data;
struct gpio_extcon_data *extcon_data; struct gpio_extcon_data *extcon_data;
int ret = 0; int ret;
if (!pdata) if (!pdata)
return -EBUSY; return -EBUSY;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment