aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty
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
commitc910367fed9fc73368d0deb7898c5ceef31e5d8f (patch)
treebc262d5310ad968849d65b6a6ec9b1b4167ac2dc /drivers/tty
parent4b6d6c6785b33dabeee69cab1c04954e584ab84c (diff)
tty: 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')
-rw-r--r--drivers/tty/amiserial.c1
-rw-r--r--drivers/tty/ehv_bytechan.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/amiserial.c b/drivers/tty/amiserial.c
index 979e7c3ea2cb..d9f85f95eb2a 100644
--- a/drivers/tty/amiserial.c
+++ b/drivers/tty/amiserial.c
@@ -1802,7 +1802,6 @@ static struct platform_driver amiga_serial_driver = {
1802 .remove = __exit_p(amiga_serial_remove), 1802 .remove = __exit_p(amiga_serial_remove),
1803 .driver = { 1803 .driver = {
1804 .name = "amiga-serial", 1804 .name = "amiga-serial",
1805 .owner = THIS_MODULE,
1806 }, 1805 },
1807}; 1806};
1808 1807
diff --git a/drivers/tty/ehv_bytechan.c b/drivers/tty/ehv_bytechan.c
index 4f485e88f60c..ffe08e1d7187 100644
--- a/drivers/tty/ehv_bytechan.c
+++ b/drivers/tty/ehv_bytechan.c
@@ -740,7 +740,6 @@ static const struct of_device_id ehv_bc_tty_of_ids[] = {
740 740
741static struct platform_driver ehv_bc_tty_driver = { 741static struct platform_driver ehv_bc_tty_driver = {
742 .driver = { 742 .driver = {
743 .owner = THIS_MODULE,
744 .name = "ehv-bc", 743 .name = "ehv-bc",
745 .of_match_table = ehv_bc_tty_of_ids, 744 .of_match_table = ehv_bc_tty_of_ids,
746 }, 745 },