ソースを参照

mtd: maps: physmap_of: 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>
Frans Klaver 10 年 前
コミット
0df415598e
1 ファイル変更0 行追加1 行削除
  1. 0 1
      drivers/mtd/maps/physmap_of.c

+ 0 - 1
drivers/mtd/maps/physmap_of.c

@@ -290,7 +290,6 @@ static int of_flash_probe(struct platform_device *dev)
 		} else {
 			info->list_size++;
 		}
-		info->list[i].mtd->owner = THIS_MODULE;
 		info->list[i].mtd->dev.parent = &dev->dev;
 	}