]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: core: Replace the argument of mmc_sd_switch() with defines
authorChanwoo Lee <cw9316.lee@samsung.com>
Thu, 29 Aug 2024 02:47:09 +0000 (11:47 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 3 Sep 2024 12:14:51 +0000 (14:14 +0200)
commit4c0a6a0ac902dbf184ae7be1f1fce225cc0b7380
tree380cf06295763be2c3100953391492d8390edf41
parent73abb1f16e28d5a41d0abea779a3f0b75cf8823e
mmc: core: Replace the argument of mmc_sd_switch() with defines

Replace with already defined values for readability. While at it, let's
also change the mode-parameter from an int to bool, as the only used values
are 0 or 1.

Signed-off-by: Chanwoo Lee <cw9316.lee@samsung.com>
Link: https://lore.kernel.org/r/20240829024709.402285-1-cw9316.lee@samsung.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/sd.c
drivers/mmc/core/sd_ops.c
include/linux/mmc/host.h