]> asedeno.scripts.mit.edu Git - linux.git/commit
nfc: No need to set .owner platform_driver_register
authorTian Tao <tiantao6@hisilicon.com>
Tue, 14 Jan 2020 02:57:39 +0000 (10:57 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jan 2020 19:58:11 +0000 (11:58 -0800)
commita4d35e77357c72acd52d6b1e7093b750b384b7cc
tree742b5bc607bf7bb2897bf7486a261ec16e7b24b1
parent2b133adfcf8eac354f2a801dc408dc48246e7718
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>
drivers/nfc/pn533/i2c.c