diff options
author | Emil Goode <emilgoode@gmail.com> | 2014-07-28 18:11:28 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-09-07 23:56:45 +0200 |
commit | ce3a5de7f58f18976b6536d8ea663f90da0e8093 (patch) | |
tree | 708037f5d948c2e6937e0e5bf322aa402855a7d5 /drivers/nfc/st21nfca | |
parent | cb174aba86fe10ddac8b692c90a9480526c02953 (diff) | |
download | op-kernel-dev-ce3a5de7f58f18976b6536d8ea663f90da0e8093.zip op-kernel-dev-ce3a5de7f58f18976b6536d8ea663f90da0e8093.tar.gz |
NFC: st21nfca: Remove double assignment of .owner in struct device_driver
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 <christophe-h.ricard@st.com>
Signed-off-by: Emil Goode <emilgoode@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/st21nfca')
-rw-r--r-- | drivers/nfc/st21nfca/i2c.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nfc/st21nfca/i2c.c b/drivers/nfc/st21nfca/i2c.c index ff31939..5d20ccf 100644 --- 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, |