diff options
| author | 2023-12-18 20:24:20 +0100 | |
|---|---|---|
| committer | 2023-12-19 16:32:46 +0100 | |
| commit | bd142914f805b88dcb15acaab9fbc9bea666dd32 (patch) | |
| tree | 6d99aa7065f0208637ca51ae01b180139508aace /rust/kernel/ssh:/git@git.zx2c4.com | |
| parent | platform/x86: wmi: Decouple ACPI notify handler from wmi_block_list (diff) | |
platform/x86: wmi: Simplify get_subobj_info()
All callers who call get_subobj_info() with **info being NULL
should better use acpi_has_method() instead.
Convert the only caller who does this to acpi_has_method()
to drop the dummy info handling.
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20231218192420.305411-7-W_Armin@gmx.de
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
