commit | 4524667b1e6801a92a4de066788e558b71fe323a | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Sat Jun 10 22:10:34 2017 +0300 |
committer | Johannes Berg <johannes.berg@intel.com> | Tue Jun 13 11:07:51 2017 +0200 |
tree | 22b48d7c298fec668aef523400dbb62ecd04b3c1 | |
parent | 6dad28ae197037d8c027f214046c2bbf159bc075 [diff] |
net: rfkill: gpio: 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: Johannes Berg <johannes.berg@intel.com>