]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
mmc: rename mmc_can_reset() to mmc_card_can_reset()
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 1 Apr 2025 09:58:41 +0000 (11:58 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 14 May 2025 14:59:17 +0000 (16:59 +0200)
commit07dd2b3204f5fe3010dd467c0a192d7efabc1abc
tree0974741c9b7f19e9df9fa24c5c39f462411fec9c
parentd872c26741b6448abc948895056157c17251a944
mmc: rename mmc_can_reset() to mmc_card_can_reset()

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. Conversion was simplified by
inverting the logic.

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