diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-03-02 16:48:05 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-03-15 13:16:29 +0300 |
commit | 85c73d50e57eb8ad43955fe38714bc5fba1acd92 (patch) | |
tree | 7225a49289314e3ee30ccf22bf9c073ce3bcd896 /include/linux/gpio | |
parent | ff21378a321f05e8c11265a3bd7622b89df8032e (diff) | |
download | linux-85c73d50e57eb8ad43955fe38714bc5fba1acd92.tar.xz |
gpio: acpi: Add managed variant of acpi_dev_add_driver_gpios()
Introduce device managed variant of acpi_dev_add_driver_gpios() and its
counterpart acpi_dev_remove_driver_gpios().
The functions in most cases are used in driver's ->probe() and
->remove() callbacks, that's why it's useful to have managed variant of
them.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Rafael J. Wysocki <rjw@rjwysocki.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/gpio')
0 files changed, 0 insertions, 0 deletions