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:
cb174ab
)
NFC: st21nfca: Remove double assignment of .owner in struct device_driver
author
Emil Goode
<
[email protected]
>
Mon, 28 Jul 2014 16:11:28 +0000
(18:11 +0200)
committer
Samuel Ortiz
<
[email protected]
>
Sun, 7 Sep 2014 21:56:45 +0000
(23:56 +0200)
The .owner member of struct device_driver is assigned THIS_MODULE twice.
Introduced by:
commit
c44cb2edd01ca31471d9385f0895891b006ab904
("NFC: dts: st21nfca: Add device-tree (Open Firmware) support to st21nfca")
Acked-by: Christophe RICARD <
[email protected]
>
Signed-off-by: Emil Goode <
[email protected]
>
Signed-off-by: Samuel Ortiz <
[email protected]
>
drivers/nfc/st21nfca/i2c.c
patch
|
blob
|
history
diff --git
a/drivers/nfc/st21nfca/i2c.c
b/drivers/nfc/st21nfca/i2c.c
index ff31939978ae595713fea28e9bbd8f153fc4640c..5d20ccf2e589c9a362024dc3b6c2195751dee4c7 100644
(file)
--- a/
drivers/nfc/st21nfca/i2c.c
+++ b/
drivers/nfc/st21nfca/i2c.c
@@
-711,7
+711,6
@@
static struct i2c_driver st21nfca_hci_i2c_driver = {
.driver = {
.owner = THIS_MODULE,
.name = ST21NFCA_HCI_I2C_DRIVER_NAME,
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(of_st21nfca_i2c_match),
},
.probe = st21nfca_hci_i2c_probe,