Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
- Loading branch information