From patchwork Sun Feb 19 17:33:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 9581699 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 66EDF604A0 for ; Sun, 19 Feb 2017 17:34:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5892528440 for ; Sun, 19 Feb 2017 17:34:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4BC2928563; Sun, 19 Feb 2017 17:34:21 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0D75E28440 for ; Sun, 19 Feb 2017 17:34:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751453AbdBSReA (ORCPT ); Sun, 19 Feb 2017 12:34:00 -0500 Received: from mga07.intel.com ([134.134.136.100]:3819 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750914AbdBSRd5 (ORCPT ); Sun, 19 Feb 2017 12:33:57 -0500 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP; 19 Feb 2017 09:33:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,182,1484035200"; d="scan'208";a="1099915557" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga001.jf.intel.com with ESMTP; 19 Feb 2017 09:33:25 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1cfVOc-000SrQ-Mx; Mon, 20 Feb 2017 01:35:38 +0800 Date: Mon, 20 Feb 2017 01:33:10 +0800 From: kbuild test robot To: Hauke Mehrtens Cc: kbuild-all@01.org, linux-spi@vger.kernel.org, Mark Brown , linux-kernel@vger.kernel.org Subject: [PATCH] spi: lantiq-ssc: fix platform_no_drv_owner.cocci warnings Message-ID: <20170219173310.GA64236@lkp-hsx03.lkp.intel.com> References: <201702200104.ay31O32d%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201702200104.ay31O32d%fengguang.wu@intel.com> 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 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP drivers/spi/spi-lantiq-ssc.c:973: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: Hauke Mehrtens Signed-off-by: Fengguang Wu Acked-by: Hauke Mehrtens --- spi-lantiq-ssc.c | 1 - 1 file changed, 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/drivers/spi/spi-lantiq-ssc.c +++ b/drivers/spi/spi-lantiq-ssc.c @@ -970,7 +970,6 @@ static struct platform_driver lantiq_ssc .remove = lantiq_ssc_remove, .driver = { .name = "spi-lantiq-ssc", - .owner = THIS_MODULE, .of_match_table = lantiq_ssc_match, }, };