OSDN Git Service

mmc: core: refactor debugfs code
authorYe Bin <yebin10@huawei.com>
Sat, 26 Nov 2022 10:25:20 +0000 (18:25 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 7 Dec 2022 12:29:13 +0000 (13:29 +0100)
commit5c5301a147df77eb4479be9af74f65a334206602
treec6b67a3b27987a48447cdbd17a75616448d54cee
parentb98e7e8daf0ebab9dcc36812378a71e1be0b5089
mmc: core: refactor debugfs code

Now, CONFIG_DEBUG_FS is scattered in various functions, to make code
clean centralized processing CONFIG_DEBUG_FS in mmc debugfs module.

Signed-off-by: Ye Bin <yebin10@huawei.com>
Link: https://lore.kernel.org/r/20221126102520.2824574-1-yebin@huaweicloud.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/bus.c
drivers/mmc/core/core.h
drivers/mmc/core/host.c