tty: hvc: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:44 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:44 +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/tty/hvc/hvc_opal.c
drivers/tty/hvc/hvc_tile.c

index a2cc5f834c633836065b215a07f597a4d458fba7..071551bf3e9a559ae6ac1177f482ade55067eb42 100644 (file)
@@ -262,7 +262,6 @@ static struct platform_driver hvc_opal_driver = {
        .remove         = hvc_opal_remove,
        .driver         = {
                .name   = hvc_opal_name,
-               .owner  = THIS_MODULE,
                .of_match_table = hvc_opal_match,
        }
 };
index df374860037cd2c64efe6617b485797b11f3acf9..3f6cd3102db5238ba4998c1b5ad64b831e9b6abf 100644 (file)
@@ -178,7 +178,6 @@ static struct platform_driver hvc_tile_driver = {
        .shutdown       = hvc_tile_shutdown,
        .driver         = {
                .name   = "hvc-tile",
-               .owner  = THIS_MODULE,
        }
 };
 #endif