From patchwork Tue Oct 6 01:35:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 7333031 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 2DC429F32B for ; Tue, 6 Oct 2015 01:36:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6FC342069F for ; Tue, 6 Oct 2015 01:36:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7F91E205DB for ; Tue, 6 Oct 2015 01:36:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751364AbbJFBgE (ORCPT ); Mon, 5 Oct 2015 21:36:04 -0400 Received: from mga14.intel.com ([192.55.52.115]:57140 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751297AbbJFBgC (ORCPT ); Mon, 5 Oct 2015 21:36:02 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 05 Oct 2015 18:36:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,641,1437462000"; d="scan'208";a="804396304" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga001.fm.intel.com with ESMTP; 05 Oct 2015 18:36:01 -0700 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1ZjHAS-000Rlz-Lk; Tue, 06 Oct 2015 09:35:48 +0800 Date: Tue, 6 Oct 2015 09:35:31 +0800 From: kbuild test robot To: Noralf =?iso-8859-1?Q?Tr=F8nnes?= Cc: kbuild-all@01.org, linux-input@vger.kernel.org, Dmitry Torokhov , linux-kernel@vger.kernel.org Subject: [PATCH] Input: fix platform_no_drv_owner.cocci warnings Message-ID: <20151006013531.GA51658@roam> References: <201510060921.YCPWmDCt%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201510060921.YCPWmDCt%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-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@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/input/touchscreen/ft6236.c:316: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: Noralf Trønnes Signed-off-by: Fengguang Wu --- ft6236.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/touchscreen/ft6236.c +++ b/drivers/input/touchscreen/ft6236.c @@ -313,7 +313,6 @@ MODULE_DEVICE_TABLE(i2c, ft6236_id); static struct i2c_driver ft6236_driver = { .driver = { .name = "ft6236", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(ft6236_of_match), }, .probe = ft6236_probe,