diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-06-10 22:10:34 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-06-13 11:07:51 +0200 |
commit | 4524667b1e6801a92a4de066788e558b71fe323a (patch) | |
tree | 22b48d7c298fec668aef523400dbb62ecd04b3c1 /net/ipv4/esp4.c | |
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>
Diffstat (limited to 'net/ipv4/esp4.c')
0 files changed, 0 insertions, 0 deletions