Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e68fdabc authored by Adrian Hunter's avatar Adrian Hunter Committed by Pierre Ossman
Browse files

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: default avatarAdrian Hunter <adrian.hunter@nokia.com>
Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
parent e1a55f5e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -216,7 +216,7 @@ mmc_omap_show_slot_name(struct device *dev, struct device_attribute *attr,
	struct mmc_omap_host *host = mmc_priv(mmc);
	struct mmc_omap_host *host = mmc_priv(mmc);
	struct omap_mmc_slot_data slot = host->pdata->slots[host->slot_id];
	struct omap_mmc_slot_data slot = host->pdata->slots[host->slot_id];


	return sprintf(buf, "slot:%s\n", slot.name);
	return sprintf(buf, "%s\n", slot.name);
}
}


static DEVICE_ATTR(slot_name, S_IRUGO, mmc_omap_show_slot_name, NULL);
static DEVICE_ATTR(slot_name, S_IRUGO, mmc_omap_show_slot_name, NULL);