]> xenbits.xensource.com Git - people/aperard/linux.git/commit
mmc: wmt-sdmmc: remove an incorrect release_mem_region() call in the .remove function
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 26 Feb 2024 21:37:39 +0000 (22:37 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 5 Mar 2024 11:50:58 +0000 (12:50 +0100)
commitae5004a40a262d329039b99b62bd3fe7645b66ad
tree56d74235f137a17a9b6969a6860d7f2d2175edc9
parent2f7c99528ae302f9e8b2cbcc5d6f40e2792578f7
mmc: wmt-sdmmc: remove an incorrect release_mem_region() call in the .remove function

This looks strange to call release_mem_region() in a remove function
without any request_mem_region() in the probe or "struct resource"
somewhere.

So remove the corresponding code.

Fixes: 3a96dff0f828 ("mmc: SD/MMC Host Controller for Wondermedia WM8505/WM8650")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/bb0bb1ed1e18de55e8c0547625bde271e64b8c31.1708983064.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/wmt-sdmmc.c