Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932355AbcDYMmZ (ORCPT ); Mon, 25 Apr 2016 08:42:25 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:35191 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1754372AbcDYMmX (ORCPT ); Mon, 25 Apr 2016 08:42:23 -0400 Message-ID: <1461588137.15167.9.camel@mtksdaap41> Subject: Re: [PATCH] VPU: mediatek: fix platform_no_drv_owner.cocci warnings From: andrew-ct chen To: Julia Lawall CC: Tiffany Lin , Hans Verkuil , , Rob Herring , Mauro Carvalho Chehab , Matthias Brugger , Daniel Kurtz , Pawel Osciak , Eddie Huang , Yingjoe Chen , , , , , , , Date: Mon, 25 Apr 2016 20:42:17 +0800 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 841 Lines: 29 On Fri, 2016-04-22 at 15:08 +0200, Julia Lawall wrote: > Remove .owner field if calls are used which set it automatically > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > > CC: Andrew-CT Chen > Signed-off-by: Fengguang Wu > Signed-off-by: Julia Lawall > --- Acked-by: Andrew-CT Chen > > base: git://linuxtv.org/media_tree.git master > > mtk_vpu.c | 1 - > 1 file changed, 1 deletion(-) > > --- a/drivers/media/platform/mtk-vpu/mtk_vpu.c > +++ b/drivers/media/platform/mtk-vpu/mtk_vpu.c > @@ -939,7 +939,6 @@ static struct platform_driver mtk_vpu_dr > .remove = mtk_vpu_remove, > .driver = { > .name = "mtk_vpu", > - .owner = THIS_MODULE, > .of_match_table = mtk_vpu_match, > }, > };