Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp186852imu; Tue, 27 Nov 2018 10:49:05 -0800 (PST) X-Google-Smtp-Source: AFSGD/X1KZdFGoqKmmtICQyHNowZa9O3WjyXGKFbDILJntAouirLKN16wzpum4R4dL4SfeV2PFs8 X-Received: by 2002:a63:a35c:: with SMTP id v28mr30170453pgn.205.1543344545631; Tue, 27 Nov 2018 10:49:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543344545; cv=none; d=google.com; s=arc-20160816; b=z8VIe92zW0Vv7JRtXJImAJQnp2smv1XSorCTwiY46SzlxHP+iDokYYXqRW92x8vQdW Z5MSDyRChW9+jlDQtQd60vtpoanRztrsEIAem/CPLnpyYCFwjd+mQ2CLkPTdtAgykBZZ eMrnCUefpqnua3zFyp/ZIWNs9au63epKrxMiCGAN3bCy8z26Qf3J0JZgEQyuPD25GSER ZZ1QSWUshjQBN2hqiT6E7kvpbn130+y+yvMSLXW71ArXn3sIV7EgILUCDzomV+/MD89F cuAfyFGogQ3eepgvMsWg1QWUXvIU0nrW3wH/bZyQkED+FgcPSE+RCCcvxVNE7nEkr70P s1Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=d3wDiYpzYpeL/L8UDP3W8HkzroS6+HvQR9X0GqyJ+qo=; b=U45sDuoCqSw9ZgbO2JeRZ70F2d1Ab5s1VF/egxV3bZVqTjsLa8sl1R5BSl/b3TAKp+ IG//7OBjLVLKn43W3eF1C69pIjFqmEj3M2p1IrIrbHJJf1s4Gr3Csw1Jpce316QnRu1w 3RUr3lTZS0aMb90JBYm4SmA2Xww5ve7oyMueqtGhcuYEcvCwkjKtF3Q45HbK4EBsjy5s qZQQU57SqXWNq65Gz4151v2B6nNTKKHAQb1Bj8H24Dn4WYXt8D0fu8wVoDnv0TMn4weF rLuezmBR+HGVJQGIOQjduVVw1Bmh2RxS/xz0dco0hiTa/wcQLaXqPdUY1w89ym25SZQC j8Ww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s9si4201621pgv.397.2018.11.27.10.48.49; Tue, 27 Nov 2018 10:49:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730834AbeK0VkT (ORCPT + 99 others); Tue, 27 Nov 2018 16:40:19 -0500 Received: from mga05.intel.com ([192.55.52.43]:1563 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726576AbeK0VkS (ORCPT ); Tue, 27 Nov 2018 16:40:18 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Nov 2018 02:42:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,286,1539673200"; d="scan'208";a="277533314" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 27 Nov 2018 02:42:47 -0800 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1gRapL-0004sa-2i; Tue, 27 Nov 2018 18:42:47 +0800 Date: Tue, 27 Nov 2018 18:42:32 +0800 From: kbuild test robot To: Weiyi Lu Cc: kbuild-all@01.org, Nicolas Boichat , Matthias Brugger , Stephen Boyd , Rob Herring , James Liao , Fan Chen , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-clk@vger.kernel.org, srv_heupstream@mediatek.com, Weiyi Lu Subject: [PATCH] clk: mediatek: fix platform_no_drv_owner.cocci warnings Message-ID: <20181127104231.GA13612@lkp-wsm-ep2> References: <20181127034254.24721-10-weiyi.lu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181127034254.24721-10-weiyi.lu@mediatek.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: kbuild test robot drivers/clk/mediatek/clk-mt8183.c:1295: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 Fixes: 14926375ef78 ("clk: mediatek: Add MT8183 clock support") CC: Weiyi Lu Signed-off-by: kbuild test robot --- url: https://github.com/0day-ci/linux/commits/Weiyi-Lu/Mediatek-MT8183-clock-and-scpsys-support/20181127-114621 base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next clk-mt8183.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/clk/mediatek/clk-mt8183.c +++ b/drivers/clk/mediatek/clk-mt8183.c @@ -1292,7 +1292,6 @@ static struct platform_driver clk_mt8183 .probe = clk_mt8183_probe, .driver = { .name = "clk-mt8183", - .owner = THIS_MODULE, .of_match_table = of_match_clk_mt8183, }, };