From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 716DAC43381 for ; Mon, 25 Feb 2019 20:35:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4AFA72084D for ; Mon, 25 Feb 2019 20:35:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727572AbfBYUfW (ORCPT ); Mon, 25 Feb 2019 15:35:22 -0500 Received: from mga12.intel.com ([192.55.52.136]:19999 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727230AbfBYUfW (ORCPT ); Mon, 25 Feb 2019 15:35:22 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Feb 2019 12:35:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,412,1544515200"; d="scan'208";a="125141325" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by fmsmga007.fm.intel.com with ESMTP; 25 Feb 2019 12:35:21 -0800 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1gyMy8-0001Pa-IU; Tue, 26 Feb 2019 04:35:20 +0800 Date: Tue, 26 Feb 2019 04:34:28 +0800 From: kbuild test robot To: Miquel Raynal Cc: kbuild-all@01.org, Kishon Vijay Abraham I , Igal Liberman , linux-kernel@vger.kernel.org Subject: [PATCH] phy: fix platform_no_drv_owner.cocci warnings Message-ID: <20190225203427.GA13804@lkp-ne04> References: <201902260410.0o0iqLaG%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201902260410.0o0iqLaG%fengguang.wu@intel.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/phy/marvell/phy-mvebu-a3700-utmi.c:269: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: cc8b7a0ae866 ("phy: add A3700 UTMI PHY driver") CC: Miquel Raynal Signed-off-by: kbuild test robot --- tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 2b46440ea71508f7037566dbbab3567d1a64093d commit: cc8b7a0ae866bb2ac8e4d089173a5e676105c8cb [6049/11177] phy: add A3700 UTMI PHY driver phy-mvebu-a3700-utmi.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/phy/marvell/phy-mvebu-a3700-utmi.c +++ b/drivers/phy/marvell/phy-mvebu-a3700-utmi.c @@ -266,7 +266,6 @@ static struct platform_driver mvebu_a370 .probe = mvebu_a3700_utmi_phy_probe, .driver = { .name = "mvebu-a3700-utmi-phy", - .owner = THIS_MODULE, .of_match_table = mvebu_a3700_utmi_of_match, }, };