lkml.org 
[lkml]   [2016]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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,
\
 
 \ /
  Last update: 2016-03-03 10:01    [W:0.107 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site