mips: txx9: rbtx4939: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:09 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:09 +0000 (16:20 +0200)
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
arch/mips/txx9/rbtx4939/setup.c

index 2da5f25f98bc5a37869429f790fbf47bb35159ed..37030409745c3b41ba428b57f8b7d304dd7d6b0d 100644 (file)
@@ -245,7 +245,6 @@ static int __init rbtx4939_led_probe(struct platform_device *pdev)
 static struct platform_driver rbtx4939_led_driver = {
        .driver  = {
                .name = "rbtx4939-led",
-               .owner = THIS_MODULE,
        },
 };
 
This page took 0.026229 seconds and 5 git commands to generate.