From patchwork Wed Mar 8 20:57:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 9611943 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6877260414 for ; Wed, 8 Mar 2017 20:58:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B86528634 for ; Wed, 8 Mar 2017 20:58:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4F71C28636; Wed, 8 Mar 2017 20:58:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2398528634 for ; Wed, 8 Mar 2017 20:58:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GM6GxwSXmgrwIXLPCfUBv2emo5qLc553eRZlwMx3YoU=; b=lxanzF+HlVIuCc /1mcFd98K1jFRiDPhYi/4HEDMPmQJ4MTToJwqO6iWQwOVciE84NxM0A0GNskspFCXnh9oCCgxTgTs ijNgwueKd0HH9zwlU1PL0xKUchGLbwHMGgupIjHXPu8KZYK5EtaSz0B+QQN8vniYB0cSawZBgfiL3 95Q0+0XAfFpryoRZYDQPGSm7TUu6jyjIvWhh9sL9rOZpStOofbaYYHUCU6pu6vd0+YENnHmRJyPHa tK5+45UQjIk0fUFs93xmGN/tv0Be5+jH9huLDedSTB8sMG7j3YYPkh6i9bBF5i2vVcR2628kwbazP lCgwhJQ0G2bRX2wf7LKg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cliew-0002HW-Mz; Wed, 08 Mar 2017 20:58:10 +0000 Received: from mga11.intel.com ([192.55.52.93]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1clies-0002GB-JF; Wed, 08 Mar 2017 20:58:08 +0000 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Mar 2017 12:57:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,265,1486454400"; d="scan'208";a="57816343" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga002.jf.intel.com with ESMTP; 08 Mar 2017 12:57:42 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1cligZ-000FQT-Ls; Thu, 09 Mar 2017 04:59:51 +0800 Date: Thu, 9 Mar 2017 04:57:12 +0800 From: kbuild test robot To: Rick Chang Subject: [PATCH] [media] vcodec: mediatek: fix platform_no_drv_owner.cocci warnings Message-ID: <20170308205710.GA26035@lkp-hsx03.lkp.intel.com> References: <201703090447.gKuj4400%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201703090447.gKuj4400%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170308_125806_655619_453AD780 X-CRM114-Status: GOOD ( 10.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hans Verkuil , Minghsiu Tsai , linux-kernel@vger.kernel.org, Ricky Liang , linux-mediatek@lists.infradead.org, kbuild-all@01.org, Matthias Brugger , Mauro Carvalho Chehab , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Signed-off-by: Fengguang Wu --- 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,