mmc: sdhci-xenon: switch to device_* API
authorMarcin Wojtas <mw@semihalf.com>
Fri, 4 Dec 2020 17:16:24 +0000 (18:16 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 11 Dec 2020 09:08:37 +0000 (10:08 +0100)
commitf29bf660bf4137ab1c2c3915d89e16818d20d792
tree9cec8e6f9ca641f32ea31960fec93324fcb76e70
parentf75fda3730728ea42bd1c210eaed96fb543ff00b
mmc: sdhci-xenon: switch to device_* API

In order to support both ACPI and DT, modify the driver
to use device_* routines for obtaining the properties
values.

Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Link: https://lore.kernel.org/r/20201204171626.10935-3-mw@semihalf.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-xenon-phy.c
drivers/mmc/host/sdhci-xenon.c
drivers/mmc/host/sdhci-xenon.h