Messages in this thread Patch in this message | | | Date | Thu, 3 Mar 2016 16:16:37 +0800 | From | kbuild test robot <> | Subject | [PATCH] mfd: intel_vuport: fix platform_no_drv_owner.cocci warnings |
| |
drivers/mfd/intel-vuport.c:68:3-8: 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
CC: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> ---
intel-vuport.c | 1 - 1 file changed, 1 deletion(-)
--- a/drivers/mfd/intel-vuport.c +++ b/drivers/mfd/intel-vuport.c @@ -65,7 +65,6 @@ MODULE_DEVICE_TABLE(acpi, vuport_acpi_ma static struct platform_driver vuport_driver = { .driver = { .name = "intel-vuport", - .owner = THIS_MODULE, .acpi_match_table = ACPI_PTR(vuport_acpi_match), }, .probe = vuport_probe,
| |