mmc: sdhci: Update firmware interface API
authorJeremy Linton <jeremy.linton@arm.com>
Fri, 20 Nov 2020 23:38:31 +0000 (17:38 -0600)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 24 Nov 2020 11:33:17 +0000 (12:33 +0100)
commitc5b1c6dc13daec60405ecd31eaa5379a9f798fa8
treea83676eecaf3b58cdba6fb47a531668cb9489945
parent2fd8a07886e00dd7b1c41cbc22911fad37fff639
mmc: sdhci: Update firmware interface API

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>
drivers/mmc/host/sdhci.c