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

index 683671a..ce2e2cf 100644 (file)
@@ -566,7 +566,6 @@ static struct platform_driver nfcwilink_driver = {
        .remove = nfcwilink_remove,
        .driver = {
                .name = "nfcwilink",
-               .owner = THIS_MODULE,
        },
 };