Commit 05a96fae433a662e12879b543a6838b6c2129402

Authored by Atsushi Nemoto
Committed by Ralf Baechle
1 parent 6ed436932d

[MIPS] rbtx4938: minor cleanup

Do not initialize res->parent for platform device.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff

arch/mips/tx4938/toshiba_rbtx4938/setup.c
... ... @@ -1026,7 +1026,6 @@
1026 1026 .start = base,
1027 1027 .end = base + 0x20 - 1,
1028 1028 .flags = IORESOURCE_MEM,
1029   - .parent = &tx4938_reg_resource,
1030 1029 }, {
1031 1030 .start = irq,
1032 1031 .flags = IORESOURCE_IRQ,
... ... @@ -1078,7 +1077,6 @@
1078 1077 .start = base,
1079 1078 .end = base + 0x100 - 1,
1080 1079 .flags = IORESOURCE_MEM,
1081   - .parent = &tx4938_reg_resource,
1082 1080 };
1083 1081 struct platform_device *dev =
1084 1082 platform_device_register_simple("txx9wdt", -1, &res, 1);