Searched hist:"4 a56e413b50c11df35e6c6909312ce7418848b37" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/usb/dwc3/ |
H A D | dwc3-pci.c | diff 4a56e413b50c11df35e6c6909312ce7418848b37 Wed Mar 22 15:08:07 CET 2017 Andy Shevchenko <andriy.shevchenko@linux.intel.com> usb: dwc3: pci: Switch to devm_acpi_dev_add_driver_gpios()
Switch to use managed variant of acpi_dev_add_driver_gpios() to simplify error path and fix potentially wrong assignment if ->probe() fails.
While here, add a debug message in case assignment fails to allow user see the cause of a potential issue.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
|