[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1604139150-18659-1-git-send-email-liuqi115@huawei.com>
Date: Sat, 31 Oct 2020 18:12:30 +0800
From: Qi Liu <liuqi115@...wei.com>
To: <mathieu.poirier@...aro.org>, <suzuki.poulose@....com>,
<Al.Grant@....com>, <mike.leach@...aro.org>
CC: <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>, <linuxarm@...wei.com>
Subject: [PATCH] coresight: funnel: Remove unnecessary .owner of static funnel driver
As driver.owner has been set in platform_driver_register(), it is
unnecessary to set it in static funnel driver, so remove it from
struct static_funnel_driver.
Signed-off-by: Qi Liu <liuqi115@...wei.com>
---
drivers/hwtracing/coresight/coresight-funnel.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/hwtracing/coresight/coresight-funnel.c b/drivers/hwtracing/coresight/coresight-funnel.c
index af40814..07bc203 100644
--- a/drivers/hwtracing/coresight/coresight-funnel.c
+++ b/drivers/hwtracing/coresight/coresight-funnel.c
@@ -356,7 +356,6 @@ static struct platform_driver static_funnel_driver = {
.remove = static_funnel_remove,
.driver = {
.name = "coresight-static-funnel",
- .owner = THIS_MODULE,
.of_match_table = static_funnel_match,
.acpi_match_table = ACPI_PTR(static_funnel_ids),
.pm = &funnel_dev_pm_ops,
--
2.8.1
Powered by blists - more mailing lists