Commit 7c27be8d authored by Heiner Kallweit's avatar Heiner Kallweit Committed by sanglipeng
Browse files

mmc: meson-gx: use devm_mmc_alloc_host

stable inclusion
from stable-v5.10.192
commit e8a41b4a5008e2ab24c36a8daa4da8a46a2ab2c5
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I933RF

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e8a41b4a5008e2ab24c36a8daa4da8a46a2ab2c5



--------------------------------

[ Upstream commit 418f7c2d ]

Use new function devm_mmc_alloc_host() to simplify the code.

Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/728f159b-885f-c78a-1a3d-f55c245250e1@gmail.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Stable-dep-of: b8ada54f ("mmc: meson-gx: fix deferred probing")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent a2625c0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment