diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2015-02-26 20:09:01 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2015-03-04 14:25:18 -0500 |
commit | 88999ae23bbd490d14e15e22b4e8650c75e7e90a (patch) | |
tree | e5a6c8f90146656c79a8a10909ad5cf12601d6c7 /drivers | |
parent | 377415abab7b49c982475990cd06eef9f33e2ccc (diff) |
platform/chrome: fix platform_no_drv_owner.cocci warnings
drivers/platform/chrome/cros_ec_lpc.c:272: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: Bill Richardson <wfrichar@chromium.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/platform/chrome/cros_ec_lpc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/platform/chrome/cros_ec_lpc.c b/drivers/platform/chrome/cros_ec_lpc.c index 822fdb36ded9..4bba5ecef9e0 100644 --- a/drivers/platform/chrome/cros_ec_lpc.c +++ b/drivers/platform/chrome/cros_ec_lpc.c | |||
@@ -269,7 +269,6 @@ MODULE_DEVICE_TABLE(dmi, cros_ec_lpc_dmi_table); | |||
269 | static struct platform_driver cros_ec_lpc_driver = { | 269 | static struct platform_driver cros_ec_lpc_driver = { |
270 | .driver = { | 270 | .driver = { |
271 | .name = DRV_NAME, | 271 | .name = DRV_NAME, |
272 | .owner = THIS_MODULE, | ||
273 | }, | 272 | }, |
274 | .probe = cros_ec_lpc_probe, | 273 | .probe = cros_ec_lpc_probe, |
275 | .remove = cros_ec_lpc_remove, | 274 | .remove = cros_ec_lpc_remove, |