projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bb2ccd
)
tty: serial: Drop owner assignment from i2c_driver
author
Krzysztof Kozlowski
<
[email protected]
>
Fri, 10 Jul 2015 06:36:20 +0000
(15:36 +0900)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 24 Jul 2015 01:04:59 +0000
(18:04 -0700)
i2c_driver does not need to set an owner because i2c_register_driver()
will set it.
Signed-off-by: Krzysztof Kozlowski <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/tty/serial/sc16is7xx.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/sc16is7xx.c
b/drivers/tty/serial/sc16is7xx.c
index 9e6576004a427e51cac6f1b59237248a706332f8..bbeb335617374d018c5fc68943f7fcdf0c6e5877 100644
(file)
--- 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,