projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
504a3e7
)
[MTD] struct device - replace bus_id with dev_name(), dev_set_name()
author
Kay Sievers
<kay.sievers@vrfy.org>
Wed, 25 Mar 2009 00:26:10 +0000
(17:26 -0700)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Mon, 6 Apr 2009 14:24:02 +0000
(07:24 -0700)
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/ndfc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/nand/ndfc.c
b/drivers/mtd/nand/ndfc.c
index 582cf80f555a5ba99ac1a79abf1952b65114966d..89bf85af642cb630b641a73ff966dd73aa60811a 100644
(file)
--- a/
drivers/mtd/nand/ndfc.c
+++ b/
drivers/mtd/nand/ndfc.c
@@
-187,7
+187,7
@@
static int ndfc_chip_init(struct ndfc_controller *ndfc,
return -ENODEV;
ndfc->mtd.name = kasprintf(GFP_KERNEL, "%s.%s",
-
ndfc->ofdev->dev.bus_id
, flash_np->name);
+
dev_name(&ndfc->ofdev->dev)
, flash_np->name);
if (!ndfc->mtd.name) {
ret = -ENOMEM;
goto err;