Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753818AbaLVByp (ORCPT ); Sun, 21 Dec 2014 20:54:45 -0500 Received: from mga14.intel.com ([192.55.52.115]:46825 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753602AbaLVByo (ORCPT ); Sun, 21 Dec 2014 20:54:44 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,620,1413270000"; d="scan'208";a="627482258" Message-ID: <549779D4.90901@intel.com> Date: Mon, 22 Dec 2014 09:54:28 +0800 From: Aaron Lu MIME-Version: 1.0 To: kbuild test robot CC: kbuild-all@01.org, Zhang Rui , Eduardo Valentin , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Thermal: fix platform_no_drv_owner.cocci warnings References: <201412212210.5BfVGAAA%fengguang.wu@intel.com> <20141221142117.GA32888@athens> In-Reply-To: <20141221142117.GA32888@athens> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/21/2014 10:21 PM, kbuild test robot wrote: > drivers/thermal/int340x_thermal/int3402_thermal.c:234:6-11: 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: Aaron Lu > Signed-off-by: Fengguang Wu Looks good to me, thanks! -Aaron > --- > > int3402_thermal.c | 1 - > 1 file changed, 1 deletion(-) > > --- a/drivers/thermal/int340x_thermal/int3402_thermal.c > +++ b/drivers/thermal/int340x_thermal/int3402_thermal.c > @@ -231,7 +231,6 @@ static struct platform_driver int3402_th > .remove = int3402_thermal_remove, > .driver = { > .name = "int3402 thermal", > - .owner = THIS_MODULE, > .acpi_match_table = int3402_thermal_match, > }, > }; > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/