mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-05 22:28:00 +00:00
mtd: nand: socrates_nand: drop owner assignment
Owner is automatically set by mtdcore. Make use of that. Signed-off-by: Frans Klaver <fransklaver@gmail.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
parent
36645652ad
commit
6031a9c5e3
1 changed files with 0 additions and 1 deletions
|
@ -167,7 +167,6 @@ static int socrates_nand_probe(struct platform_device *ofdev)
|
|||
nand_chip->priv = host; /* link the private data structures */
|
||||
mtd->priv = nand_chip;
|
||||
mtd->name = "socrates_nand";
|
||||
mtd->owner = THIS_MODULE;
|
||||
mtd->dev.parent = &ofdev->dev;
|
||||
ppdata.of_node = ofdev->dev.of_node;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue