Commit ce3a5de7 authored by Emil Goode's avatar Emil Goode Committed by Samuel Ortiz

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 c44cb2ed
("NFC: dts: st21nfca: Add device-tree (Open Firmware) support to st21nfca")
Acked-by: default avatarChristophe RICARD <[email protected]>
Signed-off-by: default avatarEmil Goode <[email protected]>
Signed-off-by: default avatarSamuel Ortiz <[email protected]>
parent cb174aba
......@@ -711,7 +711,6 @@ static struct i2c_driver st21nfca_hci_i2c_driver = {
.driver = {
.owner = THIS_MODULE,
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(of_st21nfca_i2c_match),
.probe = st21nfca_hci_i2c_probe,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment