From patchwork Fri Mar 4 15:22:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 8504421 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 72897C0553 for ; Fri, 4 Mar 2016 15:23:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A25772025B for ; Fri, 4 Mar 2016 15:23:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B96E420225 for ; Fri, 4 Mar 2016 15:23:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758758AbcCDPXI (ORCPT ); Fri, 4 Mar 2016 10:23:08 -0500 Received: from mga02.intel.com ([134.134.136.20]:54918 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751420AbcCDPXH (ORCPT ); Fri, 4 Mar 2016 10:23:07 -0500 Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP; 04 Mar 2016 07:23:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,536,1449561600"; d="scan'208";a="758137702" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga003.jf.intel.com with ESMTP; 04 Mar 2016 07:23:03 -0800 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1abrZI-000Qmh-CX; Fri, 04 Mar 2016 23:23:04 +0800 Date: Fri, 4 Mar 2016 23:22:38 +0800 From: kbuild test robot To: Purna Chandra Mandal Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, Purna Chandra Mandal , Mark Brown , Joshua Henderson , Sergei Shtylyov Subject: [PATCH] spi: spi-pic32: fix platform_no_drv_owner.cocci warnings Message-ID: <20160304152238.GA27359@lkp-ib03> References: <201603042319.6opKQQ8d%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1457099082-12587-2-git-send-email-purna.mandal@microchip.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-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP drivers/spi/spi-pic32.c:993: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: Purna Chandra Mandal Signed-off-by: Fengguang Wu --- spi-pic32.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-pic32.c +++ b/drivers/spi/spi-pic32.c @@ -990,7 +990,6 @@ MODULE_DEVICE_TABLE(of, pic32_spi_of_mat static struct platform_driver pic32_spi_driver = { .driver = { .name = "spi-pic32", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(pic32_spi_of_match), }, .probe = pic32_spi_probe,