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

index 5c4e1f625bbb8481910565a225189159e472ea3e..84eb2db855342b2a7b850df56eed15d58a5bc0bb 100644 (file)
@@ -2751,7 +2751,6 @@ static struct of_device_id ipmi_match[] =
 static struct platform_driver ipmi_driver = {
        .driver = {
                .name = DEVICE_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = ipmi_match,
        },
        .probe          = ipmi_probe,