Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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 <christophe-h.ricard@st.com>
Signed-off-by: default avatarEmil Goode <emilgoode@gmail.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent cb174aba
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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,