]> git.ipfire.org Git - thirdparty/linux.git/commit
mmc: rtsx_usb_sdmmc: Convert sd_set_power_mode() into void
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 10 Jun 2025 11:16:25 +0000 (13:16 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 24 Jun 2025 10:43:26 +0000 (12:43 +0200)
commit55131d685ebee43d7f7260f34459201734ee6a44
tree01c9617c35abdf5f78e55c90bc6a02a360296def
parentf12b55b9782017edb0533463be6215e23f4b4f8f
mmc: rtsx_usb_sdmmc: Convert sd_set_power_mode() into void

The sdmmc_set_ios() is the only caller of sd_set_power_mode() and it
ignores the return code. Let's therefore convert sd_set_power_mode() into a
void function instead.

Reviewed-by: Avri Altman <avri.altman@sandisk.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Ricky Wu <ricky_wu@realtek.com>
Link: https://lore.kernel.org/r/20250610111633.504366-4-ulf.hansson@linaro.org
drivers/mmc/host/rtsx_usb_sdmmc.c