aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nfc/pn544
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-03-30 09:51:04 +0900
committerSamuel Ortiz <sameo@linux.intel.com>2016-05-01 23:38:14 +0200
commitdfeb87df484d609aadef810dbb819830f5f9052a (patch)
tree9ada2118a185925f78712bcaa5d189bb0c7dbc11 /drivers/nfc/pn544
parentnfc: pn533: Add device tree documentation for i2c phy (diff)
downloadlinux-dev-dfeb87df484d609aadef810dbb819830f5f9052a.tar.xz
linux-dev-dfeb87df484d609aadef810dbb819830f5f9052a.zip
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>
Diffstat (limited to 'drivers/nfc/pn544')
-rw-r--r--drivers/nfc/pn544/i2c.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nfc/pn544/i2c.c b/drivers/nfc/pn544/i2c.c
index 45d0e667d7ae..f837c39a8017 100644
--- a/drivers/nfc/pn544/i2c.c
+++ b/drivers/nfc/pn544/i2c.c
@@ -1106,7 +1106,6 @@ MODULE_DEVICE_TABLE(of, of_pn544_i2c_match);
static struct i2c_driver pn544_hci_i2c_driver = {
.driver = {
.name = PN544_HCI_I2C_DRIVER_NAME,
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(of_pn544_i2c_match),
.acpi_match_table = ACPI_PTR(pn544_hci_i2c_acpi_match),
},