projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1a55f5
)
omap_hsmmc: Do not prefix slot name
author
Adrian Hunter
<adrian.hunter@nokia.com>
Fri, 30 Jan 2009 08:59:31 +0000
(10:59 +0200)
committer
Pierre Ossman
<drzeus@drzeus.cx>
Tue, 24 Mar 2009 20:30:06 +0000
(21:30 +0100)
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>
drivers/mmc/host/omap_hsmmc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/omap_hsmmc.c
b/drivers/mmc/host/omap_hsmmc.c
index f3e4e0fd6655b0f814eb9d141e937df896871990..7a9ca4f2240515aec7633a8d70c3676803b7d65b 100644
(file)
--- 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,
struct mmc_omap_host *host = mmc_priv(mmc);
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);