mmc: sdhci-pci: Switch to use acpi_evaluate_dsm_typed()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 2 Oct 2023 13:51:03 +0000 (16:51 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 10 Oct 2023 13:46:14 +0000 (15:46 +0200)
commita30c6251859cf93700c2294b65706046bac29e55
tree847d4b21fa09a2e2d58164d028c0fdc451e4ba42
parentff369d7b98426abf7bccb0722253f5d4490f3c17
mmc: sdhci-pci: Switch to use acpi_evaluate_dsm_typed()

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>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20231002135103.2602847-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-core.c