mmc: sdhci-s3c: simplify getting of_device_id match data
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Thu, 15 Apr 2021 08:44:10 +0000 (10:44 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 15 Apr 2021 12:00:15 +0000 (14:00 +0200)
commit0ab53e498fa4c06145a62ade08633f5c4ecb9ee8
treed4375da3bacf0891261417f43fb7f7bfdecbeee5
parent0751d56ef1f25c4206626dff99445db34dedf437
mmc: sdhci-s3c: simplify getting of_device_id match data

Use of_device_get_match_data() to make the code slightly smaller and to
remove the of_device_id table forward declaration.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Sylwester Nawrocki <snawrocki@kernel.org>
Link: https://lore.kernel.org/r/20210415084412.51125-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-s3c.c