diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2014-07-28 18:11:34 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-09-07 23:56:48 +0200 |
commit | d363d7d0a5755b347de42c28aeab23ecfdcd2348 (patch) | |
tree | 18e4135027508fb992174b2cccc795ca2f749719 /drivers/nfc | |
parent | 56ee645e304c9b86b48768de8e52babd5b6e1d8a (diff) | |
download | blackbird-op-linux-d363d7d0a5755b347de42c28aeab23ecfdcd2348.tar.gz blackbird-op-linux-d363d7d0a5755b347de42c28aeab23ecfdcd2348.zip |
NFC: st21nfcb: Remove double assignment of .owner in struct device_driver
The .owner member of struct device_driver is assigned THIS_MODULE twice.
Introduced by:
commit 35630df68d6030daf12dde12ed07bbe26324e6ac
NFC: st21nfcb: Add driver for STMicroelectronics ST21NFCB NFC chip
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc')
-rw-r--r-- | drivers/nfc/st21nfcb/i2c.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nfc/st21nfcb/i2c.c b/drivers/nfc/st21nfcb/i2c.c index 7ae9767dbcce..11bd5f7220ac 100644 --- a/drivers/nfc/st21nfcb/i2c.c +++ b/drivers/nfc/st21nfcb/i2c.c @@ -430,7 +430,6 @@ static struct i2c_driver st21nfcb_nci_i2c_driver = { .driver = { .owner = THIS_MODULE, .name = ST21NFCB_NCI_I2C_DRIVER_NAME, - .owner = THIS_MODULE, .of_match_table = of_match_ptr(of_st21nfcb_i2c_match), }, .probe = st21nfcb_nci_i2c_probe, |