]> git.karo-electronics.de Git - linux-beck.git/commitdiff
atm: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:18 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:18 +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>
drivers/atm/fore200e.c

index d4725fc0395d037e9ae3b861a241f9e9d229a580..d5d9eafbbfcf1f0851b6db889ccb4edf8eebfadd 100644 (file)
@@ -2687,7 +2687,6 @@ MODULE_DEVICE_TABLE(of, fore200e_sba_match);
 static struct platform_driver fore200e_sba_driver = {
        .driver = {
                .name = "fore_200e",
-               .owner = THIS_MODULE,
                .of_match_table = fore200e_sba_match,
        },
        .probe          = fore200e_sba_probe,