diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-06-10 22:09:21 +0300 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2017-06-12 10:00:24 +0900 |
commit | 1f4be24786b8521945b00e1810576911994ba504 (patch) | |
tree | 470bb5401102d71b03ce81d09c91bf719338ad76 /drivers/extcon/extcon.h | |
parent | a781a7d646ada7a69da4d2a804fe3405f2606b17 (diff) |
extcon: int3496: 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 assingment if ->probe() fails.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon.h')
0 files changed, 0 insertions, 0 deletions