Skip to contentSkip to conversation

mmc: tmio: Rename Matsushita to TMIO

PATCH New Marek Vasut 1 participant 1 message Apr 13, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc: tmio: Rename Matsushita to TMIO

Synchronize the naming with Linux, call the common code TMIO. No functional change.

Cc Jaehoon Chung <[email protected]>
Cc Masahiro Yamada <[email protected]>
---
 drivers/mmc/Makefile                               |   4 +-
 drivers/mmc/matsushita-common.h                    | 151 --------
 drivers/mmc/renesas-sdhi.c                         | 108 +++---
 drivers/mmc/{matsushita-common.c => tmio-common.c} | 414 ++++++++++-----------
 drivers/mmc/tmio-common.h                          | 151 ++++++++
 drivers/mmc/uniphier-sd.c                          |  16 +-
 6 files changed, 422 insertions(+), 422 deletions(-)
 delete mode 100644 drivers/mmc/matsushita-common.h
 rename drivers/mmc/{matsushita-common.c => tmio-common.c} (51%)
 create mode 100644 drivers/mmc/tmio-common.h
drivers/mmc/Makefile +2 -2
index f2c6280686..cf46c332f1 100644
@@ -62,6 +62,6 @@ obj-$(CONFIG_MMC_SDHCI_XENON)		+= xenon_sdhci.o
 obj-$(CONFIG_MMC_SDHCI_ZYNQ)		+= zynq_sdhci.o
 
 obj-$(CONFIG_MMC_SUNXI)			+= sunxi_mmc.o
-obj-$(CONFIG_MMC_UNIPHIER)		+= matsushita-common.o uniphier-sd.o
-obj-$(CONFIG_RENESAS_SDHI)		+= matsushita-common.o renesas-sdhi.o
+obj-$(CONFIG_MMC_UNIPHIER)		+= tmio-common.o uniphier-sd.o
+obj-$(CONFIG_RENESAS_SDHI)		+= tmio-common.o renesas-sdhi.o
 obj-$(CONFIG_MMC_BCM2835)		+= bcm2835_sdhost.o
drivers/mmc/matsushita-common.h deleted +0 -151

151 lines not on this page · raw message

drivers/mmc/renesas-sdhi.c +54 -54

235 lines not on this page · raw message

drivers/mmc/tmio-common.c renamed from drivers/mmc/matsushita-common.c +207 -207

832 lines not on this page · raw message

drivers/mmc/tmio-common.h new file +151 -0

151 lines not on this page · raw message

drivers/mmc/uniphier-sd.c +8 -8
index 42eb9c2c84..47379b0328 100644
@@ -17,12 +17,12 @@
 #include <power/regulator.h>
 #include <asm/unaligned.h>
 
-#include "matsushita-common.h"
+#include "tmio-common.h"
 
 static const struct dm_mmc_ops uniphier_sd_ops = {
-	.send_cmd = matsu_sd_send_cmd,
-	.set_ios = matsu_sd_set_ios,
-	.get_cd = matsu_sd_get_cd,
+	.send_cmd = tmio_sd_send_cmd,
+	.set_ios = tmio_sd_set_ios,
+	.get_cd = tmio_sd_get_cd,
 };
 
 static const struct udevice_id uniphier_sd_match[] = {
@@ -32,16 +32,16 @@ static const struct udevice_id uniphier_sd_match[] = {
 
 static int uniphier_sd_probe(struct udevice *dev)
 {
-	return matsu_sd_probe(dev, 0);
+	return tmio_sd_probe(dev, 0);
 }
 
 U_BOOT_DRIVER(uniphier_mmc) = {
 	.name = "uniphier-mmc",
 	.id = UCLASS_MMC,
 	.of_match = uniphier_sd_match,
-	.bind = matsu_sd_bind,
+	.bind = tmio_sd_bind,
 	.probe = uniphier_sd_probe,
-	.priv_auto_alloc_size = sizeof(struct matsu_sd_priv),
-	.platdata_auto_alloc_size = sizeof(struct matsu_sd_plat),
+	.priv_auto_alloc_size = sizeof(struct tmio_sd_priv),
+	.platdata_auto_alloc_size = sizeof(struct tmio_sd_plat),
 	.ops = &uniphier_sd_ops,
 };
Signature · 1 line
2.16.2