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 c93fd26..8dad603 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 5fc9870..79aed70 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,
        },
 };