mmc: sdhci-pxav2: change clock name to match DT bindings
authorDoug Brown <doug@schmorgal.com>
Mon, 16 Jan 2023 19:43:57 +0000 (11:43 -0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 24 Jan 2023 10:56:41 +0000 (11:56 +0100)
commitc7c60bf62820abfbfc7d154ade06a6043be0b479
tree4222246d5e5a194fab09b5ac5c4c905c18d874af
parent7f7a201ad1fcd916526d10b21685690a35aa8d7a
mmc: sdhci-pxav2: change clock name to match DT bindings

The devicetree bindings for this driver specify that the two allowed
clock names are io and core. Change this driver to look for io, but
allow any name if it fails for backwards compatibility. Follow the same
pattern used in sdhci-pxav3, but add support for EPROBE_DEFER.

Get rid of an unnecessary pdev->dev while we're at it.

Signed-off-by: Doug Brown <doug@schmorgal.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20230116194401.20372-5-doug@schmorgal.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pxav2.c