diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-09-10 19:56:16 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-09-11 15:26:49 +0200 |
| commit | 693546852656075e0247ac637b05625ead134eff (patch) | |
| tree | 09c883dc18c10d43f8b881aafdecf24b943b706f /include/linux/debugobjects.h | |
| parent | fcfb2b562115632e0a60a0928dca495f98eb335c (diff) | |
ACPI: glue: Fix up and adjust acpi_unbind_one()
Since none of the acpi_unbind_one() callers check its return value and
it always returns 0 anyway, make it void.
Also notice that unlocking physical_node_lock for the given ACPI device
should be carried out before dropping the reference to it in case that
reference is the last one (highly unlikely), so rearrange the code to
make that happen.
Fixes: 3e3327837c18 ("ACPI: Use list_for_each_entry() in acpi_unbind_one()")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/10940500.nUPlyArG6x@rafael.j.wysocki
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
