From patchwork Mon Oct 5 06:54:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 7325031 Return-Path: X-Original-To: patchwork-linux-omap@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 A9D03BEEA4 for ; Mon, 5 Oct 2015 06:55:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DCA4A205B7 for ; Mon, 5 Oct 2015 06:55:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F03B82057E for ; Mon, 5 Oct 2015 06:55:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752140AbbJEGzV (ORCPT ); Mon, 5 Oct 2015 02:55:21 -0400 Received: from mga09.intel.com ([134.134.136.24]:54033 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751978AbbJEGzT (ORCPT ); Mon, 5 Oct 2015 02:55:19 -0400 Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP; 04 Oct 2015 23:55:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,637,1437462000"; d="scan'208";a="657943718" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga003.jf.intel.com with ESMTP; 04 Oct 2015 23:55:15 -0700 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1Zizfr-000R7W-BD; Mon, 05 Oct 2015 14:55:03 +0800 Date: Mon, 5 Oct 2015 14:54:01 +0800 From: kbuild test robot To: "H. Nikolaus Schaller" Cc: kbuild-all@01.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , =?iso-8859-1?Q?Beno=EEt?= Cousson , Tony Lindgren , Russell King , Marek Belisko , Pradeep Goudagunta , "H. Nikolaus Schaller" , Laxman Dewangan , gg@slimlogic.co.uk, jic23@jic23.retrosnub.co.uk, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-iio@vger.kernel.org, Grazvydas Ignotas Subject: [PATCH] iio:adc: fix platform_no_drv_owner.cocci warnings Message-ID: <20151005065401.GA24118@lkp-hsx03> References: <201510051420.XEoCPVd3%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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/iio/adc/palmas_gpadc.c:798: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: H. Nikolaus Schaller Signed-off-by: Fengguang Wu --- palmas_gpadc.c | 1 - 1 file changed, 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/drivers/iio/adc/palmas_gpadc.c +++ b/drivers/iio/adc/palmas_gpadc.c @@ -795,7 +795,6 @@ static struct platform_driver palmas_gpa .remove = palmas_gpadc_remove, .driver = { .name = MOD_NAME, - .owner = THIS_MODULE, .pm = &palmas_pm_ops, }, };