Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7686063imu; Wed, 14 Nov 2018 23:17:39 -0800 (PST) X-Google-Smtp-Source: AJdET5fnR7/9+8MIQ4tuIvOcuTgjbWI+YF9AJUUcFR/i3P4DmcswtPWrLHEnwyBs1Gqh0jGeoeVc X-Received: by 2002:a62:d58a:: with SMTP id d132mr5157538pfg.132.1542266259887; Wed, 14 Nov 2018 23:17:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542266259; cv=none; d=google.com; s=arc-20160816; b=JB8berwPwomPQaAfskDkx8l79GDnC2Mfzj4vaBlaPhmzdLjjVG5pRObh7DYDOAusOx 821wykD98vKCS3ry6AJdRUCc52AF17OM/yHSJu78tVTTkhO2ygUU1JlWpNX7VIYlV8/F 2z+zBgtPP9/0nUsRKrmhB1ZGHTW8EVPjOxq6vWH+CUr8Vw5YvK6ifyku9Nyv9+pgh4KH FrGxU7naU+ds/hjkkOEodosFFQZP1G7mUKEecDMdwkdbdIdLXn6oEKxmzalfJNVfQQ7m qtYbn94C0tVTD1V0FHJBTtb2uGioPAkz0g5b1aVHwTeZQVZslHQ6LX536J66y5oH1zFi BVwQ== 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=ec2a9kLxIJI494nrJm2oSUNU2yr5+imyEGmtWtfAwYY=; b=HXmYT0Dzkc98komO0iCS/WHZ9BttEE4BwPOxmc0TtvU2pwHYSpvET716eKQe6tXGLK y8XESU1ThbZR+iX4uDW8ndKQCmAGK26FJVvYLEYaHmmP0JCFEEIb5KPMLheBlxwEU7fw qb5nkTvfqLQziO/ssu/MBeOTDEritMB/MbieY/qR4HAh33XpkSGsXHtLi49DhlitANWR TqDZxLPpnklocPAJZlUxsGG9W1mKC87pK6D9BHc1NK+o8wabPB/Ma1e2ousdjXZOn3td P0R+4y93757Tohcx7BYvsj+/0ifm+vFGxnrmcPmPkeiD082Td8YE7FR41gYHaIsCFhdg OztA== 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 91-v6si28996445plh.438.2018.11.14.23.16.53; Wed, 14 Nov 2018 23:17:39 -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 S1728605AbeKORSc (ORCPT + 99 others); Thu, 15 Nov 2018 12:18:32 -0500 Received: from mga02.intel.com ([134.134.136.20]:58036 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726574AbeKORSc (ORCPT ); Thu, 15 Nov 2018 12:18:32 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Nov 2018 23:11:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,235,1539673200"; d="scan'208";a="108418256" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 14 Nov 2018 23:11:53 -0800 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1gNBoe-000HXD-81; Thu, 15 Nov 2018 15:11:52 +0800 Date: Thu, 15 Nov 2018 15:11:13 +0800 From: kbuild test robot To: Tomer Maimon Cc: kbuild-all@01.org, Mark Brown , Avi Fishman , Patrick Venture , Nancy Yuen , Brendan Higgins , openbmc@lists.ozlabs.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] spi: npcm: fix platform_no_drv_owner.cocci warnings Message-ID: <20181115071113.GA99225@ivb43> References: <201811151510.lC0S0JPS%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201811151510.lC0S0JPS%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/spi/spi-npcm-pspi.c:470: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: 2a22f1b30cee ("spi: npcm: add NPCM PSPI controller driver") CC: Tomer Maimon Signed-off-by: kbuild test robot --- tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: f4ad10924cb922842beafe644dd1b2aa8fa55189 commit: 2a22f1b30cee8d1e104a6c5062a609bedbfd5c39 [2986/3290] spi: npcm: add NPCM PSPI controller driver spi-npcm-pspi.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/spi/spi-npcm-pspi.c +++ b/drivers/spi/spi-npcm-pspi.c @@ -467,7 +467,6 @@ static struct platform_driver npcm_pspi_ .driver = { .name = DRIVER_NAME, .of_match_table = npcm_pspi_match, - .owner = THIS_MODULE, }, .probe = npcm_pspi_probe, .remove = npcm_pspi_remove,