Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933811AbcCITbp (ORCPT ); Wed, 9 Mar 2016 14:31:45 -0500 Received: from mail-pa0-f42.google.com ([209.85.220.42]:35132 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933626AbcCITbh (ORCPT ); Wed, 9 Mar 2016 14:31:37 -0500 Date: Wed, 9 Mar 2016 11:31:33 -0800 From: Eduardo Valentin To: Laxman Dewangan Cc: rui.zhang@intel.com, robh+dt@kernel.org, mark.rutland@arm.com, corbet@lwn.net, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, rklein@nvidia.com Subject: Re: [PATCH V2 3/6] thermal: Add devm_thermal_zone_of_sensor_register() in managed devices list Message-ID: <20160309193132.GD2422@localhost.localdomain> References: <1457529010-6538-1-git-send-email-ldewangan@nvidia.com> <1457529010-6538-4-git-send-email-ldewangan@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1457529010-6538-4-git-send-email-ldewangan@nvidia.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1042 Lines: 39 On Wed, Mar 09, 2016 at 06:40:07PM +0530, Laxman Dewangan wrote: > The interface thermal_zone_of_sensor_register() and > thermal_zone_of_sensor_unregister() gained their devm_ > wrappers. Add these APIs in the list of managed devices. > > Signed-off-by: Laxman Dewangan Acked-by: Eduardo Valentin This should probably go via the documentation tree. > > --- > Changes from V1: > - No change. > > Documentation/driver-model/devres.txt | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt > index 5930d9a..dd7ce58 100644 > --- a/Documentation/driver-model/devres.txt > +++ b/Documentation/driver-model/devres.txt > @@ -342,6 +342,10 @@ SLAVE DMA ENGINE > SPI > devm_spi_register_master() > > +THERMAL > + devm_thermal_zone_of_sensor_register() > + devm_thermal_zone_of_sensor_unregister() > + > WATCHDOG > devm_watchdog_register_device() > devm_watchdog_unregister_device() > -- > 2.1.4 >