The acpi_evaluate_dsm_typed() provides a way to check the type of the object evaluated by _DSM call. Use it instead of open coded variant. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Maximilian Luz <luzmaximilian@gmail.com> Link: https://lore.kernel.org/r/20230118093823.39679-1-andriy.shevchenko@linux.intel.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> |
||
|---|---|---|
| .. | ||
| aggregator | ||
| Kconfig | ||
| Makefile | ||
| surface3-wmi.c | ||
| surface3_power.c | ||
| surface_acpi_notify.c | ||
| surface_aggregator_cdev.c | ||
| surface_aggregator_hub.c | ||
| surface_aggregator_registry.c | ||
| surface_aggregator_tabletsw.c | ||
| surface_dtx.c | ||
| surface_gpe.c | ||
| surface_hotplug.c | ||
| surface_platform_profile.c | ||
| surfacepro3_button.c | ||