]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: exynos_dw_mmc: Use .of_to_plat for device tree parsing
authorSam Protsenko <semen.protsenko@linaro.org>
Thu, 8 Aug 2024 03:14:27 +0000 (22:14 -0500)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 19 Aug 2024 07:09:06 +0000 (16:09 +0900)
commit658a1b873ad4997feed7572cd3cca7fee01ac9f2
tree9dc3d3bd5bcae3c210a79efe97e2d75960ab6bf8
parent8303fd6f5755d32d84c0625165d4707d9e49558a
mmc: exynos_dw_mmc: Use .of_to_plat for device tree parsing

exynos_dwmci_get_config() is called from the probe function and used to
read data from device tree. Make use of .of_to_plat driver callback
instead, and convert exynos_dwmci_get_config() to match its signature.

No functional change.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/mmc/exynos_dw_mmc.c