From patchwork Sat Jan 9 02:02:21 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: 565127 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 8439014032F for ; Sat, 9 Jan 2016 13:04:02 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755268AbcAICD4 (ORCPT ); Fri, 8 Jan 2016 21:03:56 -0500 Received: from mga02.intel.com ([134.134.136.20]:22455 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755209AbcAICDU (ORCPT ); Fri, 8 Jan 2016 21:03:20 -0500 Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP; 08 Jan 2016 18:03:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,541,1444719600"; d="scan'208";a="26249835" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga004.fm.intel.com with ESMTP; 08 Jan 2016 18:03:18 -0800 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1aHis6-000HKp-9K; Sat, 09 Jan 2016 10:03:14 +0800 Date: Sat, 9 Jan 2016 10:02:21 +0800 From: kbuild test robot To: richard.dorsch@gmail.com Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org, linux-i2c@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-gpio@vger.kernel.org, lee.jones@linaro.org, jdelvare@suse.com, linux@roeck-us.net, wim@iguana.be, jo.sunga@advantech.com, Richard Vidal-Dorsch Subject: [PATCH] fix platform_no_drv_owner.cocci warnings Message-ID: <20160109020221.GA79318@cairo> References: <201601091012.XHk6Lh1F%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1452292166-20118-7-git-send-email-richard.dorsch@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-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org drivers/watchdog/imanager-wdt.c:322: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: Richard Vidal-Dorsch Signed-off-by: Fengguang Wu --- imanager-wdt.c | 1 - 1 file changed, 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/drivers/watchdog/imanager-wdt.c +++ b/drivers/watchdog/imanager-wdt.c @@ -319,7 +319,6 @@ static int imanager_wdt_remove(struct pl static struct platform_driver imanager_wdt_driver = { .driver = { - .owner = THIS_MODULE, .name = "imanager_wdt", }, .probe = imanager_wdt_probe,