iio: magn: ak8974: remove .owner field for driver
Subsystems (2)
PATCH 1/1 iio: magn: ak8974: remove .owner field for driver
From: Wei Yongjun <[email protected]>
Remove .owner field if calls are used which set it automatically.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
--- drivers/iio/magnetometer/ak8974.c | 1 - 1 file changed, 1 deletion(-)
drivers/iio/magnetometer/ak8974.c +0 -1
@@ -847,7 +847,6 @@ MODULE_DEVICE_TABLE(of, ak8974_of_match);static struct i2c_driver ak8974_driver = { .driver = { .name ="ak8974" , - .owner =THIS_MODULE , .pm = &ak8974_dev_pm_ops, .of_match_table =of_match_ptr (ak8974_of_match), },
Quoted 7 lines · Wei Yongjun
From: Wei Yongjun <[email protected]>
Remove .owner field if calls are used which set it automatically.
Generated by:
scripts/coccinelle/api/platform_no_drv_owner.cocciSigned-off-by Wei Yongjun <[email protected]>
Yours,
Linus Walleij
Quoted 11 lines · Linus Walleij
Quoted 7 lines · Wei Yongjun
From: Wei Yongjun <[email protected]>
Remove .owner field if calls are used which set it automatically.
Generated by:
scripts/coccinelle/api/platform_no_drv_owner.cocciSigned-off-by Wei Yongjun <[email protected]>Acked-by Linus Walleij <[email protected]>
Applied.
Thanks,
Jonathan
Quoted 8 lines
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html