From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jae Hyun Yoo Subject: Re: [PATCH v7 11/12] hwmon: Add PECI dimmtemp driver Date: Mon, 30 Jul 2018 15:45:05 -0700 Message-ID: References: <20180723214751.1733-1-jae.hyun.yoo@linux.intel.com> <20180723214751.1733-12-jae.hyun.yoo@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Rob Herring Cc: Mark Rutland , Andrew Lunn , Randy Dunlap , linux-aspeed@lists.ozlabs.org, devicetree@vger.kernel.org, fbarrat@linux.vnet.ibm.com, Mauro Carvalho Chehab , Lee Jones , Jason M Biils , sandeen@redhat.com, Lorenzo Pieralisi , Jonathan Corbet , OpenBMC Maillist , Linux Doc Mailing List , Kishon Vijay Abraham I , Joel Stanley , bryantly@linux.vnet.ibm.com, =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , david.kershner@unisys.com, Guenter Roeck , Wu Hao , Linux HWMON List , Jean Delvare , Arnd Bergmann List-Id: devicetree@vger.kernel.org Hi Rob, On 7/30/2018 3:06 PM, Rob Herring wrote: > On Mon, Jul 23, 2018 at 3:49 PM Jae Hyun Yoo > wrote: >> >> This commit adds PECI dimmtemp hwmon driver. >> > >> +#if IS_ENABLED(CONFIG_OF) >> +static const struct of_device_id peci_dimmtemp_of_table[] = { >> + { .compatible = "intel,peci-dimmtemp" }, >> + { } >> +}; >> +MODULE_DEVICE_TABLE(of, peci_dimmtemp_of_table); >> +#endif > > This should be removed. Same for cpu temp driver I'm guessing. > Yes, you are right. This isn't needed anymore because MFD driver loads this module. I'll remove this code from here and from cpu temp driver. Also, I'll remove 'of_compatible' setting of 'struct mfd_cell peci_functions' in intel-peci-client.c code. Thanks a lot for your pointing it out! Jae > Rob > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Authentication-Results: lists.ozlabs.org; spf=none (mailfrom) smtp.mailfrom=linux.intel.com (client-ip=192.55.52.43; helo=mga05.intel.com; envelope-from=jae.hyun.yoo@linux.intel.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.intel.com Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41fZQk5B8czF14j; Tue, 31 Jul 2018 08:45:14 +1000 (AEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Jul 2018 15:45:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,424,1526367600"; d="scan'208";a="60745769" Received: from yoojae-mobl1.amr.corp.intel.com (HELO [10.7.153.149]) ([10.7.153.149]) by orsmga007.jf.intel.com with ESMTP; 30 Jul 2018 15:45:08 -0700 Subject: Re: [PATCH v7 11/12] hwmon: Add PECI dimmtemp driver To: Rob Herring Cc: Jean Delvare , Guenter Roeck , Mark Rutland , Lee Jones , Joel Stanley , Andrew Jeffery , Jonathan Corbet , Greg Kroah-Hartman , Gustavo Pimentel , Kishon Vijay Abraham I , Lorenzo Pieralisi , darrick.wong@oracle.com, sandeen@redhat.com, Arnd Bergmann , Wu Hao , kusumi.tomohiro@gmail.com, bryantly@linux.vnet.ibm.com, fbarrat@linux.vnet.ibm.com, David Miller , Mauro Carvalho Chehab , Andrew Morton , Randy Dunlap , Philippe Ombredanne , Vinod , Stephen Boyd , david.kershner@unisys.com, =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , Sagar Dharia , Johan Hovold , Thomas Gleixner , jgross@suse.com, Cyrille Pitchen , Linux HWMON List , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-aspeed@lists.ozlabs.org, Linux Doc Mailing List , OpenBMC Maillist , Alan Cox , Andy Shevchenko , Jason M Biils , Miguel Ojeda Sandonis , Andrew Lunn , Stef van Os References: <20180723214751.1733-1-jae.hyun.yoo@linux.intel.com> <20180723214751.1733-12-jae.hyun.yoo@linux.intel.com> From: Jae Hyun Yoo Message-ID: Date: Mon, 30 Jul 2018 15:45:05 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 31 Jul 2018 10:00:13 +1000 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2018 22:45:19 -0000 Hi Rob, On 7/30/2018 3:06 PM, Rob Herring wrote: > On Mon, Jul 23, 2018 at 3:49 PM Jae Hyun Yoo > wrote: >> >> This commit adds PECI dimmtemp hwmon driver. >> > >> +#if IS_ENABLED(CONFIG_OF) >> +static const struct of_device_id peci_dimmtemp_of_table[] = { >> + { .compatible = "intel,peci-dimmtemp" }, >> + { } >> +}; >> +MODULE_DEVICE_TABLE(of, peci_dimmtemp_of_table); >> +#endif > > This should be removed. Same for cpu temp driver I'm guessing. > Yes, you are right. This isn't needed anymore because MFD driver loads this module. I'll remove this code from here and from cpu temp driver. Also, I'll remove 'of_compatible' setting of 'struct mfd_cell peci_functions' in intel-peci-client.c code. Thanks a lot for your pointing it out! Jae > Rob > From mboxrd@z Thu Jan 1 00:00:00 1970 From: jae.hyun.yoo@linux.intel.com (Jae Hyun Yoo) Date: Mon, 30 Jul 2018 15:45:05 -0700 Subject: [PATCH v7 11/12] hwmon: Add PECI dimmtemp driver In-Reply-To: References: <20180723214751.1733-1-jae.hyun.yoo@linux.intel.com> <20180723214751.1733-12-jae.hyun.yoo@linux.intel.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Rob, On 7/30/2018 3:06 PM, Rob Herring wrote: > On Mon, Jul 23, 2018 at 3:49 PM Jae Hyun Yoo > wrote: >> >> This commit adds PECI dimmtemp hwmon driver. >> > >> +#if IS_ENABLED(CONFIG_OF) >> +static const struct of_device_id peci_dimmtemp_of_table[] = { >> + { .compatible = "intel,peci-dimmtemp" }, >> + { } >> +}; >> +MODULE_DEVICE_TABLE(of, peci_dimmtemp_of_table); >> +#endif > > This should be removed. Same for cpu temp driver I'm guessing. > Yes, you are right. This isn't needed anymore because MFD driver loads this module. I'll remove this code from here and from cpu temp driver. Also, I'll remove 'of_compatible' setting of 'struct mfd_cell peci_functions' in intel-peci-client.c code. Thanks a lot for your pointing it out! Jae > Rob >