OSDN Git Service

net: wireless: rt2x00: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:18 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:18 +0000 (16:21 +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>
drivers/net/wireless/rt2x00/rt2800soc.c

index f6d1bf5..aaa7aa4 100644 (file)
@@ -244,7 +244,6 @@ static int rt2800soc_probe(struct platform_device *pdev)
 static struct platform_driver rt2800soc_driver = {
        .driver         = {
                .name           = "rt2800_wmac",
-               .owner          = THIS_MODULE,
                .mod_name       = KBUILD_MODNAME,
        },
        .probe          = rt2800soc_probe,