mmc: sdhci: Update firmware interface API
authorJeremy Linton <jeremy.linton@arm.com>
Fri, 20 Nov 2020 23:38:31 +0000 (17:38 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Mar 2021 16:06:26 +0000 (17:06 +0100)
commit69f8455268335274dc11e52bbe8f30608fb103c2
treee863875ef333fb55789dc2f23f0bc4db92a93603
parent73d1a11a198af55f64f908286dde95f6fb9e1650
mmc: sdhci: Update firmware interface API

[ Upstream commit c5b1c6dc13daec60405ecd31eaa5379a9f798fa8 ]

The device_* calls were added a few years ago to abstract
DT/ACPI/fwnode firmware interfaces. Lets convert the two
sdhci caps fields to use the generic calls rather than the OF
specific ones. This has the side effect of allowing
ACPI based devices to quirk themselves when the caps field
is broken.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Link: https://lore.kernel.org/r/20201120233831.447365-1-jeremy.linton@arm.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mmc/host/sdhci.c