Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: ccree: fix platform_no_drv_owner.cocci warnings

drivers/staging/ccree/ssi_driver.c:484:6-11: No need to set .owner here. The core will do it.

Remove .owner field if calls are used which set it automatically

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

kbuild test robot and committed by
Greg Kroah-Hartman
65d4c8a7 abb5f0c6

-1
-1
drivers/staging/ccree/ssi_driver.c
··· 539 539 static struct platform_driver cc7x_driver = { 540 540 .driver = { 541 541 .name = "cc7xree", 542 - .owner = THIS_MODULE, 543 542 #ifdef CONFIG_OF 544 543 .of_match_table = arm_cc7x_dev_of_match, 545 544 #endif