From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754818AbdIGKDh (ORCPT ); Thu, 7 Sep 2017 06:03:37 -0400 Received: from mga05.intel.com ([192.55.52.43]:48552 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753828AbdIGKCr (ORCPT ); Thu, 7 Sep 2017 06:02:47 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,357,1500966000"; d="scan'208";a="148567864" Date: Thu, 7 Sep 2017 18:02:24 +0800 From: kbuild test robot To: Corentin Chary Cc: kbuild-all@01.org, Darren Hart , Andy Shevchenko , corentin.chary@gmail.com, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] drivers/x86: fix platform_no_drv_owner.cocci warnings Message-ID: <20170907100224.GA78930@lkp-wsx02> References: <201709071725.1hbpOsaR%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170904082110.30925-1-corentin.chary@gmail.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-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org drivers/platform/x86/thinkpad-wmi.c:1196: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 Fixes: 3af63e23450d ("drivers/x86: add thinkpad-wmi") CC: Corentin Chary Signed-off-by: Fengguang Wu --- thinkpad-wmi.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/platform/x86/thinkpad-wmi.c +++ b/drivers/platform/x86/thinkpad-wmi.c @@ -1193,7 +1193,6 @@ static struct platform_driver platform_d .remove = __exit_p(thinkpad_wmi_remove), .driver = { .name = THINKPAD_WMI_FILE, - .owner = THIS_MODULE, }, }; From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [PATCH] drivers/x86: fix platform_no_drv_owner.cocci warnings Date: Thu, 7 Sep 2017 18:02:24 +0800 Message-ID: <20170907100224.GA78930@lkp-wsx02> References: <201709071725.1hbpOsaR%fengguang.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mga05.intel.com ([192.55.52.43]:48552 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753828AbdIGKCr (ORCPT ); Thu, 7 Sep 2017 06:02:47 -0400 Content-Disposition: inline In-Reply-To: <20170904082110.30925-1-corentin.chary@gmail.com> Sender: platform-driver-x86-owner@vger.kernel.org List-ID: Cc: kbuild-all@01.org, Darren Hart , Andy Shevchenko , corentin.chary@gmail.com, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org drivers/platform/x86/thinkpad-wmi.c:1196: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 Fixes: 3af63e23450d ("drivers/x86: add thinkpad-wmi") CC: Corentin Chary Signed-off-by: Fengguang Wu --- thinkpad-wmi.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/platform/x86/thinkpad-wmi.c +++ b/drivers/platform/x86/thinkpad-wmi.c @@ -1193,7 +1193,6 @@ static struct platform_driver platform_d .remove = __exit_p(thinkpad_wmi_remove), .driver = { .name = THINKPAD_WMI_FILE, - .owner = THIS_MODULE, }, };