From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755237AbcHSNPP (ORCPT ); Fri, 19 Aug 2016 09:15:15 -0400 Received: from mga14.intel.com ([192.55.52.115]:49595 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753120AbcHSNPM (ORCPT ); Fri, 19 Aug 2016 09:15:12 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,544,1464678000"; d="scan'208";a="1038491275" Message-ID: <1471612454.2691.75.camel@intel.com> Subject: Re: [PATCH] Thermal-INT3406: Delete owner assignment From: Zhang Rui To: SF Markus Elfring , linux-pm@vger.kernel.org, Aaron Lu , Eduardo Valentin , "Rafael J. Wysocki" Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall Date: Fri, 19 Aug 2016 21:14:14 +0800 In-Reply-To: <43ac5f67-78cd-88a7-f421-830e48c63b52@users.sourceforge.net> References: <43ac5f67-78cd-88a7-f421-830e48c63b52@users.sourceforge.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.2-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 一, 2016-08-15 at 11:30 +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 15 Aug 2016 11:22:40 +0200 > > The field "owner" is set by core. Thus delete an extra > initialisation. > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > Signed-off-by: Markus Elfring Patch applied. thanks, rui > --- >  drivers/thermal/int340x_thermal/int3406_thermal.c | 1 - >  1 file changed, 1 deletion(-) > > diff --git a/drivers/thermal/int340x_thermal/int3406_thermal.c > b/drivers/thermal/int340x_thermal/int3406_thermal.c > index a578cd2..1891f34 100644 > --- a/drivers/thermal/int340x_thermal/int3406_thermal.c > +++ b/drivers/thermal/int340x_thermal/int3406_thermal.c > @@ -225,7 +225,6 @@ static struct platform_driver > int3406_thermal_driver = { >   .remove = int3406_thermal_remove, >   .driver = { >      .name = "int3406 thermal", > -    .owner = THIS_MODULE, >      .acpi_match_table = int3406_thermal_match, >      }, >  };