diff options
author | 2014-10-20 16:21:44 +0200 | |
---|---|---|
committer | 2014-10-20 16:21:44 +0200 | |
commit | 3aa5fed2564fd7a18f6f6ab4fd1a50538ebb70e9 (patch) | |
tree | f12efe800bdbcaad5e5173fe75a36c4c3738f673 /drivers/tty/hvc | |
parent | tty: drop owner assignment from platform_drivers (diff) | |
download | linux-3aa5fed2564fd7a18f6f6ab4fd1a50538ebb70e9.tar.gz linux-3aa5fed2564fd7a18f6f6ab4fd1a50538ebb70e9.tar.bz2 linux-3aa5fed2564fd7a18f6f6ab4fd1a50538ebb70e9.zip |
tty: hvc: drop owner assignment from platform_drivers
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>
Diffstat (limited to 'drivers/tty/hvc')
-rw-r--r-- | drivers/tty/hvc/hvc_opal.c | 1 | ||||
-rw-r--r-- | drivers/tty/hvc/hvc_tile.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/hvc/hvc_opal.c b/drivers/tty/hvc/hvc_opal.c index a2cc5f834c63..071551bf3e9a 100644 --- a/drivers/tty/hvc/hvc_opal.c +++ b/drivers/tty/hvc/hvc_opal.c @@ -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, } }; diff --git a/drivers/tty/hvc/hvc_tile.c b/drivers/tty/hvc/hvc_tile.c index df374860037c..3f6cd3102db5 100644 --- a/drivers/tty/hvc/hvc_tile.c +++ b/drivers/tty/hvc/hvc_tile.c @@ -178,7 +178,6 @@ static struct platform_driver hvc_tile_driver = { .shutdown = hvc_tile_shutdown, .driver = { .name = "hvc-tile", - .owner = THIS_MODULE, } }; #endif |