mmc: sdhci-xenon: use match data for controllers variants
authorMarcin Wojtas <mw@semihalf.com>
Fri, 4 Dec 2020 17:16:23 +0000 (18:16 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 11 Dec 2020 09:08:37 +0000 (10:08 +0100)
commitf75fda3730728ea42bd1c210eaed96fb543ff00b
tree4bb0f098e82f054cecbe8ce3f734af059a80a540
parent6f56023aea3ac86f4fc8611161affb7f265ff662
mmc: sdhci-xenon: use match data for controllers variants

As a part of the ACPI support preparation resign from checking
compatible strings in the driver. Instead of that use a new
enum and assign the values to match data accordingly.

Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Link: https://lore.kernel.org/r/20201204171626.10935-2-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