aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/hvc
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:44 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:44 -0400
commit3aa5fed2564fd7a18f6f6ab4fd1a50538ebb70e9 (patch)
treef12efe800bdbcaad5e5173fe75a36c4c3738f673 /drivers/tty/hvc
parentc910367fed9fc73368d0deb7898c5ceef31e5d8f (diff)
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.c1
-rw-r--r--drivers/tty/hvc/hvc_tile.c1
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 = {
262 .remove = hvc_opal_remove, 262 .remove = hvc_opal_remove,
263 .driver = { 263 .driver = {
264 .name = hvc_opal_name, 264 .name = hvc_opal_name,
265 .owner = THIS_MODULE,
266 .of_match_table = hvc_opal_match, 265 .of_match_table = hvc_opal_match,
267 } 266 }
268}; 267};
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 = {
178 .shutdown = hvc_tile_shutdown, 178 .shutdown = hvc_tile_shutdown,
179 .driver = { 179 .driver = {
180 .name = "hvc-tile", 180 .name = "hvc-tile",
181 .owner = THIS_MODULE,
182 } 181 }
183}; 182};
184#endif 183#endif