]> Gentwo Git Trees - linux/.git/commit
mmc: rename mmc_can_sleep() to mmc_card_can_sleep()
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 1 Apr 2025 09:58:44 +0000 (11:58 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 14 May 2025 14:59:17 +0000 (16:59 +0200)
commite3df5ae4761eb8373a72349f3cdbe7838dc5c538
tree43f6041706bed6471327a27c94438e221b15a23f
parent55e0961a8b56f8356261e4a9b5544daf4f552def
mmc: rename mmc_can_sleep() to mmc_card_can_sleep()

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-9-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc.c