mmc: renesas-sdhi: rename sh_mobile_sdhi.c => renesas_sdhi_core.c
authorSimon Horman <horms+renesas@verge.net.au>
Wed, 10 May 2017 09:25:29 +0000 (11:25 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 20 Jun 2017 08:30:15 +0000 (10:30 +0200)
commitb5b6a5f4f06c0624886b2166e2e8580327f0b943
treeba6f10f08cde4015ac5fa551a4dccd46dcf79a51
parentc2a96987c76f093be50550130f5629723b091176
mmc: renesas-sdhi: rename sh_mobile_sdhi.c => renesas_sdhi_core.c

Rename the source file SDHI. A follow-up patch will make it a library
file used by a different top-level module file.

The name "renesas" is chosen as the SDHI driver is applicable to a wider
range of SoCs than SH-Mobile it seems to be a more appropriate name.
However, the SDHI driver source itself, is left as sh_mobile_sdhi to
avoid unnecessary churn.

the name "core" was chosen to reflect the desired role of this file,
to provide core functionality to the sdhi driver. A follow-up patch will
move the file into that role.

Internal symbols have also been renamed to reflect the filename change.

The .name member of struct platform_driver and parameter to
MODULE_ALIAS() have not been changed in order to avoid the complication
of potentially breaking SH SoCs which still use platform drivers.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/Kconfig
drivers/mmc/host/Makefile
drivers/mmc/host/renesas_sdhi_core.c [new file with mode: 0644]
drivers/mmc/host/sh_mobile_sdhi.c [deleted file]