From patchwork Sat Apr 29 05:50:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 9705649 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 F270E602CA for ; Sat, 29 Apr 2017 05:52:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E0ECD28673 for ; Sat, 29 Apr 2017 05:52:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D1CE5285E7; Sat, 29 Apr 2017 05:52:47 +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 65D08285E7 for ; Sat, 29 Apr 2017 05:52:47 +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=/Dp371eQcrEC2HZ9gMRT1g3R1Z53Vbm2uWpysnSuOf4=; b=Z5lxoTt6Mc8vj1 oA9/MTMWnJfaxsDuag+u0ayvlblQZ/lNQ3bMS9BapEiH5BNR0v5s4ZbyQX2YDrlt8E1oUVXGUHyO1 2A4naog88WXEW9klDYSQSdz9ftONo/phgbECta0tIcaXdkyun469FIk7BV2Db05FEvp4SKHqSvVEz ABpDxWTaeZqpDOTqU9fUIWtsjFhWJV1IpI74XwWrhDpTWCGSwLf6FGLMwy7fHkjMq8v0Qp0IWcPrk RPrDF8gEGRyll2kjU3GRqR8TNHVyKzI42Ms7qiTpft7wAHDOqUWWUxlQD2mMVQ82A9yGbo+PW0wvA UlqZZe92jvfntwMZr6NQ==; 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 1d4LJG-0000RK-Q1; Sat, 29 Apr 2017 05:52:46 +0000 Received: from mga14.intel.com ([192.55.52.115]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d4LIQ-0000DQ-J6 for linux-arm-kernel@lists.infradead.org; Sat, 29 Apr 2017 05:51:55 +0000 Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Apr 2017 22:51:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,391,1488873600"; d="scan'208";a="95661673" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga006.fm.intel.com with ESMTP; 28 Apr 2017 22:51:27 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1d4LJp-0001cY-3t; Sat, 29 Apr 2017 13:53:21 +0800 Date: Sat, 29 Apr 2017 13:50:51 +0800 From: kbuild test robot To: Varadarajan Narayanan Subject: [PATCH] clk: qcom: ipq8074: fix platform_no_drv_owner.cocci warnings Message-ID: <20170429055051.GA50706@lkp-sbx04> References: <201704291326.jFi4mgNw%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1493373403-23462-3-git-send-email-varada@codeaurora.org> 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-20170428_225154_645351_C5E19DE9 X-CRM114-Status: UNSURE ( 9.28 ) X-CRM114-Notice: Please train this message. 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: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, catalin.marinas@arm.com, mturquette@baylibre.com, sjaganat@codeaurora.org, sboyd@codeaurora.org, linux-kernel@vger.kernel.org, will.deacon@arm.com, linux-clk@vger.kernel.org, david.brown@linaro.org, absahu@codeaurora.org, robh+dt@kernel.org, kbuild-all@01.org, linux-arm-msm@vger.kernel.org, andy.gross@linaro.org, sricharan@codeaurora.org, Varadarajan Narayanan , linux-soc@vger.kernel.org, linus.walleij@linaro.org, linux-arm-kernel@lists.infradead.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/clk/qcom/gcc-ipq8074.c:1014: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: Abhishek Sahu Signed-off-by: Fengguang Wu --- gcc-ipq8074.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/clk/qcom/gcc-ipq8074.c +++ b/drivers/clk/qcom/gcc-ipq8074.c @@ -1011,7 +1011,6 @@ static struct platform_driver gcc_ipq807 .probe = gcc_ipq8074_probe, .driver = { .name = "qcom,gcc-ipq8074", - .owner = THIS_MODULE, .of_match_table = gcc_ipq8074_match_table, }, };