summaryrefslogtreecommitdiffstats
path: root/drivers/mci
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-12-06 23:33:42 -0800
committerSascha Hauer <s.hauer@pengutronix.de>2018-12-10 10:02:53 +0100
commit0f5038d626de3190440c1bbe151ac55031fdda76 (patch)
tree9ac34f0999d5ea824a045ff3705f15be6e698f75 /drivers/mci
parent3ae1a15007ea71a04c0e634b48d44cd895d1a651 (diff)
downloadbarebox-0f5038d626de3190440c1bbe151ac55031fdda76.tar.gz
barebox-0f5038d626de3190440c1bbe151ac55031fdda76.tar.xz
mci: dw_mmc: Drop explicit devname setup code
Drop explicit devname setup code. Same setup will be done by mci_of_parse(). Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mci')
-rw-r--r--drivers/mci/dw_mmc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mci/dw_mmc.c b/drivers/mci/dw_mmc.c
index e4c550c3ed..f035317ef2 100644
--- a/drivers/mci/dw_mmc.c
+++ b/drivers/mci/dw_mmc.c
@@ -602,9 +602,6 @@ static int dw_mmc_probe(struct device_d *dev)
host->mci.host_caps &= ~MMC_CAP_BIT_DATA_MASK;
host->mci.host_caps |= pdata->bus_width_caps;
} else if (dev->device_node) {
- const char *alias = of_alias_get(dev->device_node);
- if (alias)
- host->mci.devname = xstrdup(alias);
of_property_read_u32(dev->device_node, "dw-mshc-ciu-div",
&host->ciu_div);
}