[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20170308205710.GA26035@lkp-hsx03.lkp.intel.com>
Date: Thu, 9 Mar 2017 04:57:12 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Rick Chang <rick.chang@...iatek.com>
Cc: kbuild-all@...org, Mauro Carvalho Chehab <m.chehab@...sung.com>,
linux-media@...r.kernel.org,
Minghsiu Tsai <minghsiu.tsai@...iatek.com>,
Ricky Liang <jcliang@...omium.org>,
Hans Verkuil <hverkuil@...all.nl>,
Matthias Brugger <matthias.bgg@...il.com>,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH] [media] vcodec: mediatek: fix platform_no_drv_owner.cocci
warnings
drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c:1296: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: Rick Chang <rick.chang@...iatek.com>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
mtk_jpeg_core.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c
+++ b/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c
@@ -1293,7 +1293,6 @@ static struct platform_driver mtk_jpeg_d
.probe = mtk_jpeg_probe,
.remove = mtk_jpeg_remove,
.driver = {
- .owner = THIS_MODULE,
.name = MTK_JPEG_NAME,
.of_match_table = mtk_jpeg_match,
.pm = &mtk_jpeg_pm_ops,
Powered by blists - more mailing lists