diff options
author | Tian Tao <tiantao6@hisilicon.com> | 2020-01-14 10:57:39 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-14 11:58:11 -0800 |
commit | a4d35e77357c72acd52d6b1e7093b750b384b7cc (patch) | |
tree | 742b5bc607bf7bb2897bf7486a261ec16e7b24b1 | |
parent | 2b133adfcf8eac354f2a801dc408dc48246e7718 (diff) |
nfc: No need to set .owner platform_driver_register
the i2c_add_driver will set the .owner to THIS_MODULE
Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/nfc/pn533/i2c.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nfc/pn533/i2c.c b/drivers/nfc/pn533/i2c.c index 7507176cca0a..0207e66cee21 100644 --- a/drivers/nfc/pn533/i2c.c +++ b/drivers/nfc/pn533/i2c.c @@ -274,7 +274,6 @@ MODULE_DEVICE_TABLE(i2c, pn533_i2c_id_table); static struct i2c_driver pn533_i2c_driver = { .driver = { .name = PN533_I2C_DRIVER_NAME, - .owner = THIS_MODULE, .of_match_table = of_match_ptr(of_pn533_i2c_match), }, .probe = pn533_i2c_probe, |