Re: [PATCH V2 3/6] thermal: Add devm_thermal_zone_of_sensor_register() in managed devices list

From: Eduardo Valentin
Date: Wed Mar 09 2016 - 14:31:48 EST


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 <ldewangan@xxxxxxxxxx>

Acked-by: Eduardo Valentin <edubezval@xxxxxxxxx>


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
>