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>
This commit is contained in:
parent
3bb2ccd0d1
commit
7e8af24fbe
|
@ -1369,7 +1369,6 @@ MODULE_DEVICE_TABLE(i2c, sc16is7xx_i2c_id_table);
|
||||||
static struct i2c_driver sc16is7xx_i2c_uart_driver = {
|
static struct i2c_driver sc16is7xx_i2c_uart_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = SC16IS7XX_NAME,
|
.name = SC16IS7XX_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = of_match_ptr(sc16is7xx_dt_ids),
|
.of_match_table = of_match_ptr(sc16is7xx_dt_ids),
|
||||||
},
|
},
|
||||||
.probe = sc16is7xx_i2c_probe,
|
.probe = sc16is7xx_i2c_probe,
|
||||||
|
|
Loading…
Reference in New Issue