mmc: meson-gx: switch to device-managed dmam_alloc_coherent()
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 15 Apr 2022 23:12:01 +0000 (01:12 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 26 Apr 2022 12:05:21 +0000 (14:05 +0200)
commit238b638b309093b77852137bcffd98702b95564f
treee46af8909a8fe905bc23b09ae7e01c535633f0b3
parent36ed2fd32b2cf7ff49804fae455e58e4d3b3bcad
mmc: meson-gx: switch to device-managed dmam_alloc_coherent()

Using the device-managed version allows to simplify clean-up in probe()
error path and remove().

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/268b3cd5-2388-2553-bdba-c72853f91aa3@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/meson-gx-mmc.c