]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
[MIPS] rbtx4938: minor cleanup
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Tue, 22 Apr 2008 14:59:30 +0000 (23:59 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 28 Apr 2008 16:14:32 +0000 (17:14 +0100)
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>
arch/mips/tx4938/toshiba_rbtx4938/setup.c

index 2fbf7d4c3c7176740e3f43b2f7d36e065ac52944..3a3659e8633aa642a79ac3988127632b9cf38ff3 100644 (file)
@@ -1026,7 +1026,6 @@ static void __init txx9_spi_init(unsigned long base, int irq)
                        .start  = base,
                        .end    = base + 0x20 - 1,
                        .flags  = IORESOURCE_MEM,
-                       .parent = &tx4938_reg_resource,
                }, {
                        .start  = irq,
                        .flags  = IORESOURCE_IRQ,
@@ -1078,7 +1077,6 @@ static int __init txx9_wdt_init(unsigned long base)
                .start  = base,
                .end    = base + 0x100 - 1,
                .flags  = IORESOURCE_MEM,
-               .parent = &tx4938_reg_resource,
        };
        struct platform_device *dev =
                platform_device_register_simple("txx9wdt", -1, &res, 1);