mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
extcon: gpio: Do not unnecessarily initialize variables
Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
This commit is contained in:
parent
cb8bb3a772
commit
1073514b11
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue