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

index 4c831fdfcc2fb151db757198e5497a3a5d9497fc..4871647c7f85cb05acbe63a1d793da754f8f83c9 100644 (file)
@@ -406,7 +406,6 @@ static const struct dev_pm_ops sirfsoc_pinmux_pm_ops = {
 static struct platform_driver sirfsoc_pinmux_driver = {
        .driver = {
                .name = DRIVER_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = pinmux_ids,
 #ifdef CONFIG_PM_SLEEP
                .pm = &sirfsoc_pinmux_pm_ops,