aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@nokia.com>2009-01-30 03:59:31 -0500
committerPierre Ossman <drzeus@drzeus.cx>2009-03-24 16:30:06 -0400
commite68fdabc0d27f25428d53d43caae8bc79ed63d32 (patch)
tree3fe4c78c539a9906f10ed5a4a6d5a96695bfa88e /drivers/mmc
parente1a55f5eeae90de3f1113dea8cd40d54e1562abf (diff)
omap_hsmmc: Do not prefix slot name
Allow slot_name to be the same as the other OMAP driver, by removing the redundant "slot:" prefix. Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/omap_hsmmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index f3e4e0fd6655..7a9ca4f22405 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -216,7 +216,7 @@ mmc_omap_show_slot_name(struct device *dev, struct device_attribute *attr,
216 struct mmc_omap_host *host = mmc_priv(mmc); 216 struct mmc_omap_host *host = mmc_priv(mmc);
217 struct omap_mmc_slot_data slot = host->pdata->slots[host->slot_id]; 217 struct omap_mmc_slot_data slot = host->pdata->slots[host->slot_id];
218 218
219 return sprintf(buf, "slot:%s\n", slot.name); 219 return sprintf(buf, "%s\n", slot.name);
220} 220}
221 221
222static DEVICE_ATTR(slot_name, S_IRUGO, mmc_omap_show_slot_name, NULL); 222static DEVICE_ATTR(slot_name, S_IRUGO, mmc_omap_show_slot_name, NULL);