summaryrefslogtreecommitdiffstats
path: root/drivers/mci
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-12-06 23:33:45 -0800
committerSascha Hauer <s.hauer@pengutronix.de>2018-12-10 10:02:53 +0100
commit59f7c6e6fa3d9d81074c5ec0f86361917db951de (patch)
tree493e2995ed01c341da42434fb34e71512c431a24 /drivers/mci
parentd8470c4bba600d5f9e857a551bd5b33c3c24594e (diff)
downloadbarebox-59f7c6e6fa3d9d81074c5ec0f86361917db951de.tar.gz
barebox-59f7c6e6fa3d9d81074c5ec0f86361917db951de.tar.xz
mci: mxs: 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/mxs.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/mci/mxs.c b/drivers/mci/mxs.c
index 446da8ad53..afd6a56397 100644
--- a/drivers/mci/mxs.c
+++ b/drivers/mci/mxs.c
@@ -574,12 +574,6 @@ static int mxs_mci_probe(struct device_d *hw_dev)
/* fixed to 3.3 V */
host->voltages = MMC_VDD_32_33 | MMC_VDD_33_34;
- if (hw_dev->device_node) {
- const char *alias = of_alias_get(hw_dev->device_node);
- if (alias)
- host->devname = xstrdup(alias);
- }
-
mci_of_parse(host);
}