Message ID | 20170606075050.GA15877@lkp-wsm-ep2 (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 9D93460352 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 6 Jun 2017 07:52:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 90CBD2842A for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 6 Jun 2017 07:52:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8567A2843F; Tue, 6 Jun 2017 07:52:24 +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 267CE2842A for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 6 Jun 2017 07:52:24 +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=PH4cIa3IHH7+3zAQkXNxK8s6+aQB8dMbgiKYnoBomy8=; b=nLbKKZXAdeTz7W hSzTjIdIfaZyLu+lvs+YaSllGGr1HUkWi4X5/6sSATyFEC5OYoYz9pIIoFM+aGHLIUKoiBvl9RTvH 21JUsWuxZSxQAmkrdz9bqfk2Jj/suzlqOhBlm2jirZP1NZDUDdGBxhlHj9KOqtlw3KzZWviT+36QW VJ6Zc02ONbm7ggICIG5cAEmXhenKI12N2erA+r7eB8k2PP1KYk7mAWOFCTMHwqIBL1kgk5f/auQaw C/mC5wuRAdk1f/ShbaYDbVutZD0uaO0siy281vknOSq6mJYq5A7dfW4eZ7HYEqCD/zrxCihIeh5Z+ ZSVFSfVmZMRJEPIZpEFQ==; 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 1dI9Hr-0002m6-0r; Tue, 06 Jun 2017 07:52:23 +0000 Received: from mga05.intel.com ([192.55.52.43]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dI9Ho-0002Xv-3I for linux-arm-kernel@lists.infradead.org; Tue, 06 Jun 2017 07:52:21 +0000 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP; 06 Jun 2017 00:51:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos; i="5.39,305,1493708400"; d="scan'208"; a="1178824507" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga002.fm.intel.com with ESMTP; 06 Jun 2017 00:51:31 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from <fengguang.wu@intel.com>) id 1dI9Ka-000DaP-LY; Tue, 06 Jun 2017 15:55:12 +0800 Date: Tue, 6 Jun 2017 15:50:50 +0800 From: kbuild test robot <lkp@intel.com> To: Markus Mayer <code@mmayer.net> Subject: [PATCH] thermal: fix platform_no_drv_owner.cocci warnings Message-ID: <20170606075050.GA15877@lkp-wsm-ep2> References: <201706061553.IyOv7qkB%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20170605210930.65432-3-code@mmayer.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: <locally generated> 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-20170606_005220_172067_0CDA4361 X-CRM114-Status: GOOD ( 11.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Mark Rutland <mark.rutland@arm.com>, Device Tree List <devicetree@vger.kernel.org>, Doug Berger <opendmb@gmail.com>, Markus Mayer <mmayer@broadcom.com>, Power Management List <linux-pm@vger.kernel.org>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Eduardo Valentin <edubezval@gmail.com>, Rob Herring <robh+dt@kernel.org>, Broadcom Kernel List <bcm-kernel-feedback-list@broadcom.com>, kbuild-all@01.org, Gregory Fong <gregory.0xf0@gmail.com>, =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= <rafal@milecki.pl>, Florian Fainelli <f.fainelli@gmail.com>, Zhang Rui <rui.zhang@intel.com>, Brian Norris <computersforpeace@gmail.com>, ARM Kernel List <linux-arm-kernel@lists.infradead.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
--- a/drivers/thermal/broadcom/brcmstb_thermal.c +++ b/drivers/thermal/broadcom/brcmstb_thermal.c @@ -350,7 +350,6 @@ static struct platform_driver brcmstb_th .remove = brcmstb_thermal_exit, .driver = { .name = DRV_NAME, - .owner = THIS_MODULE, .of_match_table = brcmstb_thermal_id_table, }, };
drivers/thermal/broadcom/brcmstb_thermal.c:353: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: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> --- brcmstb_thermal.c | 1 - 1 file changed, 1 deletion(-)