]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mmc: rename mmc_can_erase() to mmc_card_can_erase()
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 1 Apr 2025 09:58:38 +0000 (11:58 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 14 May 2025 14:59:17 +0000 (16:59 +0200)
commit5513d9bebbcca2eb30252ad6c2f0eaf73eec7121
tree305e3387d55e7279ceb2a13f37cce5ebd761dacb
parent76d62cde684ba53dcbc6923b2ec90a024ee253f9
mmc: rename mmc_can_erase() to mmc_card_can_erase()

mmc_can_* functions sometimes relate to the card and sometimes to the host.
Make it obvious by renaming this function to include 'card'. Also, convert to
proper bool type while we are here.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20250401095847.29271-3-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/block.c
drivers/mmc/core/core.c
drivers/mmc/core/core.h
drivers/mmc/core/mmc_test.c
drivers/mmc/core/queue.c