From a4d35e77357c72acd52d6b1e7093b750b384b7cc Mon Sep 17 00:00:00 2001 From: Tian Tao Date: Tue, 14 Jan 2020 10:57:39 +0800 Subject: 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 Signed-off-by: David S. Miller --- drivers/nfc/pn533/i2c.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/nfc/pn533/i2c.c') 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, -- cgit v1.2.3-59-g8ed1b