Commit 04c1b4c7 authored by YueHaibing's avatar YueHaibing Committed by David S. Miller
Browse files

nfc: s3fwrn5: fix platform_no_drv_owner.cocci warning



Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b4d51913
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -279,7 +279,6 @@ MODULE_DEVICE_TABLE(of, of_s3fwrn5_i2c_match);

static struct i2c_driver s3fwrn5_i2c_driver = {
	.driver = {
		.owner = THIS_MODULE,
		.name = S3FWRN5_I2C_DRIVER_NAME,
		.of_match_table = of_match_ptr(of_s3fwrn5_i2c_match),
	},