mmc: core: Cleanup mmc_sd_num_wr_blocks() function
authorVictor Shih <victor.shih@genesyslogic.com.tw>
Fri, 11 Aug 2023 10:14:04 +0000 (18:14 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 11 Aug 2023 10:31:55 +0000 (12:31 +0200)
commit13433b9e2723947d636fb09fda68948b77833077
tree3090cbfe86efa75159a031dc99db1e98cd2b3b43
parentda2a69cf278729dae1ad95811111457c8aac306b
mmc: core: Cleanup mmc_sd_num_wr_blocks() function

Use mmc_app_cmd() to avoid open-coding in mmc_sd_num_wr_blocks().

Signed-off-by: Victor Shih <victor.shih@genesyslogic.com.tw>
Link: https://lore.kernel.org/r/20230811101404.4463-1-victorshihgli@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/block.c