aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/extcon
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/extcon')
-rw-r--r--drivers/extcon/extcon-gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-gpio.c b/drivers/extcon/extcon-gpio.c
index f874c30ddbff..6368a0f3ae6d 100644
--- 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)
80{ 80{
81 struct gpio_extcon_platform_data *pdata = pdev->dev.platform_data; 81 struct gpio_extcon_platform_data *pdata = pdev->dev.platform_data;
82 struct gpio_extcon_data *extcon_data; 82 struct gpio_extcon_data *extcon_data;
83 int ret = 0; 83 int ret;
84 84
85 if (!pdata) 85 if (!pdata)
86 return -EBUSY; 86 return -EBUSY;