aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/utils.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2021-04-12 22:23:58 +0000
committerRafael J. Wysocki <[email protected]>2021-04-13 13:41:11 +0000
commit4cbaba4e3e4a8a00ed90193ae519c52ba01ea756 (patch)
treeb4d7680c20cb13039e270c0d8d4245b55e52761d /drivers/acpi/utils.c
parentACPI: scan: Utilize match_string() API (diff)
downloadkernel-4cbaba4e3e4a8a00ed90193ae519c52ba01ea756.tar.gz
kernel-4cbaba4e3e4a8a00ed90193ae519c52ba01ea756.zip
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 <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/acpi/utils.c')
0 files changed, 0 insertions, 0 deletions