From patchwork Wed Feb 10 02:45:25 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: 8268121 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2B8BF9F1C1 for ; Wed, 10 Feb 2016 02:47:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 558BF20270 for ; Wed, 10 Feb 2016 02:47:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6BF502026C for ; Wed, 10 Feb 2016 02:47:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756852AbcBJCqV (ORCPT ); Tue, 9 Feb 2016 21:46:21 -0500 Received: from mga03.intel.com ([134.134.136.65]:37725 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756735AbcBJCqT (ORCPT ); Tue, 9 Feb 2016 21:46:19 -0500 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 09 Feb 2016 18:46:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,424,1449561600"; d="scan'208";a="908981060" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga002.jf.intel.com with ESMTP; 09 Feb 2016 18:46:15 -0800 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1aTKnB-000ORs-AG; Wed, 10 Feb 2016 10:46:09 +0800 Date: Wed, 10 Feb 2016 10:45:25 +0800 From: kbuild test robot To: Andrew Duggan Cc: kbuild-all@01.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Duggan , Dmitry Torokhov , Linus Walleij , Jiri Kosina , Benjamin Tissoires , Christopher Heiny , Stephen Chandler Paul , Vincent Huang , Chris Healy , Andrey Gusakov Subject: [PATCH] Input: synaptics-rmi4: fix platform_no_drv_owner.cocci warnings Message-ID: <20160210024525.GA34639@lkp-nex05> References: <201602101058.eieyFMNU%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1455068440-11964-1-git-send-email-aduggan@synaptics.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-Spam-Status: No, score=-7.2 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/input/rmi4/rmi_i2c.c:373: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: Andrew Duggan Signed-off-by: Fengguang Wu --- rmi_i2c.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/rmi4/rmi_i2c.c +++ b/drivers/input/rmi4/rmi_i2c.c @@ -370,7 +370,6 @@ MODULE_DEVICE_TABLE(i2c, rmi_id); static struct i2c_driver rmi_i2c_driver = { .driver = { - .owner = THIS_MODULE, .name = "rmi4_i2c", .pm = &rmi_i2c_pm, },