diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-04-22 10:59:30 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-04-28 12:14:32 -0400 |
commit | 05a96fae433a662e12879b543a6838b6c2129402 (patch) | |
tree | 7c2ebc7cd02494c5779042ada567b34a0ff7f954 /arch/mips/tx4938 | |
parent | 6ed436932d1417534aa1a738fd9585795f954304 (diff) |
[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>
Diffstat (limited to 'arch/mips/tx4938')
-rw-r--r-- | arch/mips/tx4938/toshiba_rbtx4938/setup.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/tx4938/toshiba_rbtx4938/setup.c b/arch/mips/tx4938/toshiba_rbtx4938/setup.c index 2fbf7d4c3c71..3a3659e8633a 100644 --- a/arch/mips/tx4938/toshiba_rbtx4938/setup.c +++ b/arch/mips/tx4938/toshiba_rbtx4938/setup.c | |||
@@ -1026,7 +1026,6 @@ static void __init txx9_spi_init(unsigned long base, int irq) | |||
1026 | .start = base, | 1026 | .start = base, |
1027 | .end = base + 0x20 - 1, | 1027 | .end = base + 0x20 - 1, |
1028 | .flags = IORESOURCE_MEM, | 1028 | .flags = IORESOURCE_MEM, |
1029 | .parent = &tx4938_reg_resource, | ||
1030 | }, { | 1029 | }, { |
1031 | .start = irq, | 1030 | .start = irq, |
1032 | .flags = IORESOURCE_IRQ, | 1031 | .flags = IORESOURCE_IRQ, |
@@ -1078,7 +1077,6 @@ static int __init txx9_wdt_init(unsigned long base) | |||
1078 | .start = base, | 1077 | .start = base, |
1079 | .end = base + 0x100 - 1, | 1078 | .end = base + 0x100 - 1, |
1080 | .flags = IORESOURCE_MEM, | 1079 | .flags = IORESOURCE_MEM, |
1081 | .parent = &tx4938_reg_resource, | ||
1082 | }; | 1080 | }; |
1083 | struct platform_device *dev = | 1081 | struct platform_device *dev = |
1084 | platform_device_register_simple("txx9wdt", -1, &res, 1); | 1082 | platform_device_register_simple("txx9wdt", -1, &res, 1); |