diff options
author | Andy Shevchenko <andy.shevchenko@gmail.com> | 2021-04-13 01:23:58 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-04-13 16:41:11 +0300 |
commit | 4cbaba4e3e4a8a00ed90193ae519c52ba01ea756 (patch) | |
tree | b4d7680c20cb13039e270c0d8d4245b55e52761d /drivers/iio/light/acpi-als.c | |
parent | 020505581119d191ee8da478783e2465d7f5fa8e (diff) | |
download | linux-4cbaba4e3e4a8a00ed90193ae519c52ba01ea756.tar.xz |
ACPI: bus: Introduce acpi_dev_get() and reuse it in ACPI code
Introduce acpi_dev_get() to have a symmetrical API with acpi_dev_put()
and reuse both in ACPI code in drivers/acpi/.
While at it, use acpi_bus_put_acpi_device() in one place instead of
the above.
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/iio/light/acpi-als.c')
0 files changed, 0 insertions, 0 deletions