Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

nfc: Drop owner assignment from i2c_driver

i2c_driver does not need to set an owner because i2c_register_driver()
will set it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

authored by

Krzysztof Kozlowski and committed by
Samuel Ortiz
dfeb87df 71c08eac

-4
-1
drivers/nfc/nxp-nci/i2c.c
··· 418 418 static struct i2c_driver nxp_nci_i2c_driver = { 419 419 .driver = { 420 420 .name = NXP_NCI_I2C_DRIVER_NAME, 421 - .owner = THIS_MODULE, 422 421 .acpi_match_table = ACPI_PTR(acpi_id), 423 422 .of_match_table = of_match_ptr(of_nxp_nci_i2c_match), 424 423 },
-1
drivers/nfc/pn544/i2c.c
··· 1106 1106 static struct i2c_driver pn544_hci_i2c_driver = { 1107 1107 .driver = { 1108 1108 .name = PN544_HCI_I2C_DRIVER_NAME, 1109 - .owner = THIS_MODULE, 1110 1109 .of_match_table = of_match_ptr(of_pn544_i2c_match), 1111 1110 .acpi_match_table = ACPI_PTR(pn544_hci_i2c_acpi_match), 1112 1111 },
-1
drivers/nfc/st-nci/i2c.c
··· 416 416 417 417 static struct i2c_driver st_nci_i2c_driver = { 418 418 .driver = { 419 - .owner = THIS_MODULE, 420 419 .name = ST_NCI_I2C_DRIVER_NAME, 421 420 .of_match_table = of_match_ptr(of_st_nci_i2c_match), 422 421 .acpi_match_table = ACPI_PTR(st_nci_i2c_acpi_match),
-1
drivers/nfc/st21nfca/i2c.c
··· 721 721 722 722 static struct i2c_driver st21nfca_hci_i2c_driver = { 723 723 .driver = { 724 - .owner = THIS_MODULE, 725 724 .name = ST21NFCA_HCI_I2C_DRIVER_NAME, 726 725 .of_match_table = of_match_ptr(of_st21nfca_i2c_match), 727 726 .acpi_match_table = ACPI_PTR(st21nfca_hci_i2c_acpi_match),