projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1a97e0
)
mtd: rawnand: ams-delta: show parent device in sysfs
author
Janusz Krzysztofik
<jmkrzyszt@gmail.com>
Wed, 19 Sep 2018 22:52:53 +0000
(
00:52
+0200)
committer
Miquel Raynal
<miquel.raynal@bootlin.com>
Wed, 3 Oct 2018 09:12:25 +0000
(11:12 +0200)
Fix a bug where parent device symlinks aren't shown in sysfs.
While at it, make use of the default owner set by mtdcore.
Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/ams-delta.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/raw/ams-delta.c
b/drivers/mtd/nand/raw/ams-delta.c
index
a2d2dfc
..
efe1206
100644
(file)
--- a/
drivers/mtd/nand/raw/ams-delta.c
+++ b/
drivers/mtd/nand/raw/ams-delta.c
@@
-160,7
+160,7
@@
static int ams_delta_init(struct platform_device *pdev)
}
ams_delta_mtd = nand_to_mtd(this);
- ams_delta_mtd->
owner = THIS_MODULE
;
+ ams_delta_mtd->
dev.parent = &pdev->dev
;
/*
* Don't try to request the memory region from here,