diff options
| author | Armin Wolf <[email protected]> | 2023-12-18 19:24:20 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2023-12-19 15:32:46 +0000 |
| commit | bd142914f805b88dcb15acaab9fbc9bea666dd32 (patch) | |
| tree | 6d99aa7065f0208637ca51ae01b180139508aace /drivers/platform/x86/intel/pmc | |
| parent | platform/x86: wmi: Decouple ACPI notify handler from wmi_block_list (diff) | |
| download | kernel-bd142914f805b88dcb15acaab9fbc9bea666dd32.tar.gz kernel-bd142914f805b88dcb15acaab9fbc9bea666dd32.zip | |
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 <[email protected]>
Signed-off-by: Armin Wolf <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmc')
0 files changed, 0 insertions, 0 deletions
