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

index 246e03a..20559ab 100644 (file)
@@ -768,7 +768,6 @@ static struct platform_driver spmi_pmic_arb_driver = {
        .remove         = spmi_pmic_arb_remove,
        .driver         = {
                .name   = "spmi_pmic_arb",
-               .owner  = THIS_MODULE,
                .of_match_table = spmi_pmic_arb_match_table,
        },
 };