[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160215090011.GA87856@roam>
Date: Mon, 15 Feb 2016 17:00:11 +0800
From: kbuild test robot <lkp@...el.com>
To: Enric Balletbo i Serra <enric.balletbo@...labora.com>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org,
Olof Johansson <olof@...om.net>,
Gene Chen <gene.chen@...el.com>,
Benson Leung <bleung@...omium.org>,
Aaron Durbin <adurbin@...omium.org>,
Filipe Brandenburger <filbranden@...omium.org>,
Ben Zhang <benzh@...omium.org>,
Olof Johansson <olofj@...omium.org>,
Gustavo Padovan <gustavo.padovan@...labora.co.uk>
Subject: [PATCH] platform/chrome: pstore: fix platform_no_drv_owner.cocci
warnings
drivers/platform/chrome/chromeos_pstore.c:85: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: Aaron Durbin <adurbin@...omium.org>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
chromeos_pstore.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/platform/chrome/chromeos_pstore.c
+++ b/drivers/platform/chrome/chromeos_pstore.c
@@ -82,7 +82,6 @@ MODULE_DEVICE_TABLE(acpi, cros_ramoops_a
static struct platform_driver chromeos_ramoops_acpi = {
.driver = {
.name = "chromeos_pstore",
- .owner = THIS_MODULE,
.acpi_match_table = ACPI_PTR(cros_ramoops_acpi_match),
},
};
Powered by blists - more mailing lists