diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-10 02:36:20 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-23 21:04:59 -0400 |
commit | 7e8af24fbe6160c1529ff7fe67bf8b72b73b67e4 (patch) | |
tree | b074406f73d22b0ae0a5318f9b7db2ed39b4c66c | |
parent | 3bb2ccd0d12a26392bf884c2a305b15b622fc7a8 (diff) |
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>
-rw-r--r-- | drivers/tty/serial/sc16is7xx.c | 1 |
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); | |||
1369 | static struct i2c_driver sc16is7xx_i2c_uart_driver = { | 1369 | static struct i2c_driver sc16is7xx_i2c_uart_driver = { |
1370 | .driver = { | 1370 | .driver = { |
1371 | .name = SC16IS7XX_NAME, | 1371 | .name = SC16IS7XX_NAME, |
1372 | .owner = THIS_MODULE, | ||
1373 | .of_match_table = of_match_ptr(sc16is7xx_dt_ids), | 1372 | .of_match_table = of_match_ptr(sc16is7xx_dt_ids), |
1374 | }, | 1373 | }, |
1375 | .probe = sc16is7xx_i2c_probe, | 1374 | .probe = sc16is7xx_i2c_probe, |