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

index c93fd260447e552ef22b5c6f12e42df1c3ff5a92..8dad603d863c9b779d6e34c006d886c19531f1ec 100644 (file)
@@ -101,7 +101,6 @@ static struct platform_driver stih415_reset_driver = {
        .probe = syscfg_reset_probe,
        .driver = {
                .name = "reset-stih415",
-               .owner = THIS_MODULE,
                .of_match_table = stih415_reset_match,
        },
 };
index 5fc987076a90a55c5b69f964d9fbaad7dd45a94d..79aed70a26c013b800a521e9e626e5f48df41e61 100644 (file)
@@ -132,7 +132,6 @@ static struct platform_driver stih416_reset_driver = {
        .probe = syscfg_reset_probe,
        .driver = {
                .name = "reset-stih416",
-               .owner = THIS_MODULE,
                .of_match_table = stih416_reset_match,
        },
 };