diff options
| author | Rafael J. Wysocki <[email protected]> | 2022-01-26 19:38:27 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2022-02-03 10:55:57 +0000 |
| commit | f7e62c5890f08543e7b4d305c4b4501f89aafe61 (patch) | |
| tree | 0c3aee43bc26db1bc3b13cf3146831633cef5dff /drivers/platform/x86/x86-android-tablets.c | |
| parent | platform/x86: thinkpad_acpi: Add dual-fan quirk for T15g (2nd gen) (diff) | |
| download | kernel-f7e62c5890f08543e7b4d305c4b4501f89aafe61.tar.gz kernel-f7e62c5890f08543e7b4d305c4b4501f89aafe61.zip | |
platform/x86: Replace acpi_bus_get_device()
Replace acpi_bus_get_device() that is going to be dropped with
acpi_fetch_acpi_dev().
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Link: https://lore.kernel.org/r/2631712.mvXUDI8C0e@kreacher
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/x86/x86-android-tablets.c')
| -rw-r--r-- | drivers/platform/x86/x86-android-tablets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/x86-android-tablets.c b/drivers/platform/x86/x86-android-tablets.c index 9360a8a92486..3120acf9837c 100644 --- a/drivers/platform/x86/x86-android-tablets.c +++ b/drivers/platform/x86/x86-android-tablets.c @@ -105,7 +105,7 @@ static int x86_acpi_irq_helper_get(const struct x86_acpi_irq_data *data) return -ENODEV; } - acpi_bus_get_device(handle, &adev); + adev = acpi_fetch_acpi_dev(handle); if (!adev) { pr_err("error could not get %s adev\n", data->chip); return -ENODEV; |
