summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorKrzysztof Kozlowski2015-07-10 08:36:20 +0200
committerGreg Kroah-Hartman2015-07-24 03:04:59 +0200
commit7e8af24fbe6160c1529ff7fe67bf8b72b73b67e4 (patch)
treeb074406f73d22b0ae0a5318f9b7db2ed39b4c66c /drivers/tty
parenttty: serial: Drop owner assignment from platform_driver (diff)
downloadkernel-qcow2-linux-7e8af24fbe6160c1529ff7fe67bf8b72b73b67e4.tar.gz
kernel-qcow2-linux-7e8af24fbe6160c1529ff7fe67bf8b72b73b67e4.tar.xz
kernel-qcow2-linux-7e8af24fbe6160c1529ff7fe67bf8b72b73b67e4.zip
tty: serial: Drop owner assignment from i2c_driver
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/sc16is7xx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c
index 9e6576004a42..bbeb33561737 100644
--- a/drivers/tty/serial/sc16is7xx.c
+++ b/drivers/tty/serial/sc16is7xx.c
@@ -1369,7 +1369,6 @@ MODULE_DEVICE_TABLE(i2c, sc16is7xx_i2c_id_table);
static struct i2c_driver sc16is7xx_i2c_uart_driver = {
.driver = {
.name = SC16IS7XX_NAME,
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(sc16is7xx_dt_ids),
},
.probe = sc16is7xx_i2c_probe,