]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ACPI: scan: Use resource_type() for resource type checking
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 30 Dec 2025 09:57:34 +0000 (10:57 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 2 Jan 2026 12:09:59 +0000 (13:09 +0100)
commitff8f624860e1cd31f32d2c18de291ca727f8ddcd
treeef1f54c8171caece969cfd22b50528d71a9a2ef1
parenteed8f21a94f86e1b25d945fabbd50f822781e41d
ACPI: scan: Use resource_type() for resource type checking

To follow a well-established existing pattern, use resource_type() for
resource type checking in acpi_scan_claim_resources().

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Link: https://patch.msgid.link/12814730.O9o76ZdvQC@rafael.j.wysocki
drivers/acpi/scan.c