From patchwork Mon Feb 20 12:05:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 9582675 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 4F19060578 for ; Mon, 20 Feb 2017 12:06:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 40E352885A for ; Mon, 20 Feb 2017 12:06:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3515E28867; Mon, 20 Feb 2017 12:06:27 +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 9F1412885A for ; Mon, 20 Feb 2017 12:06:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752888AbdBTMFr (ORCPT ); Mon, 20 Feb 2017 07:05:47 -0500 Received: from mga02.intel.com ([134.134.136.20]:1493 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751402AbdBTMFp (ORCPT ); Mon, 20 Feb 2017 07:05:45 -0500 Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Feb 2017 04:05:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,186,1484035200"; d="scan'208";a="826341172" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by FMSMGA003.fm.intel.com with ESMTP; 20 Feb 2017 04:05:43 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1cfml2-000AYe-Lm; Mon, 20 Feb 2017 20:07:56 +0800 Date: Mon, 20 Feb 2017 20:05:32 +0800 From: kbuild test robot To: Patrick Vogelaar Cc: kbuild-all@01.org, dmitry.torokhov@gmail.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-input@vger.kernel.org, Patrick Vogelaar Subject: [PATCH] fix platform_no_drv_owner.cocci warnings Message-ID: <20170220120529.GA59227@xian.lkp.intel.com> References: <201702202015.pVoAzgsD%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1487586813-4122-2-git-send-email-Patrick.Vogelaar@gigatronik.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-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP drivers/input/misc/cy8cmbr3102.c:210:4-9: 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: Patrick Vogelaar Signed-off-by: Fengguang Wu --- cy8cmbr3102.c | 1 - 1 file changed, 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/drivers/input/misc/cy8cmbr3102.c +++ b/drivers/input/misc/cy8cmbr3102.c @@ -207,7 +207,6 @@ MODULE_DEVICE_TABLE(of, of_cy8cmbr3102_m static struct i2c_driver cy8cmbr3102_driver = { .driver = { .name = "cy8cmbr3102", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(of_cy8cmbr3102_match), }, .probe = cy8cmbr3102_probe,