Skip to content

Commit

Permalink
extcon: int3496: Rename GPIO pins in accordance with binding
Browse files Browse the repository at this point in the history
Update GPIO pin names in extcon-intel-int3496.c driver to follow
the existing extcon binding.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
  • Loading branch information
Andy Shevchenko authored and Chanwoo Choi committed Mar 22, 2017
1 parent bafa687 commit 90400c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/extcon/extcon-intel-int3496.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ static int int3496_probe(struct platform_device *pdev)
return data->usb_id_irq;
}

data->gpio_vbus_en = devm_gpiod_get_index(dev, "vbus en",
data->gpio_vbus_en = devm_gpiod_get_index(dev, "vbus",
INT3496_GPIO_VBUS_EN,
GPIOD_ASIS);
if (IS_ERR(data->gpio_vbus_en))
dev_info(dev, "can't request VBUS EN GPIO\n");

data->gpio_usb_mux = devm_gpiod_get_index(dev, "usb mux",
data->gpio_usb_mux = devm_gpiod_get_index(dev, "mux",
INT3496_GPIO_USB_MUX,
GPIOD_ASIS);
if (IS_ERR(data->gpio_usb_mux))
Expand Down

0 comments on commit 90400c5

Please sign in to comment.