Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755063AbdIHHOO (ORCPT ); Fri, 8 Sep 2017 03:14:14 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:2166 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755001AbdIHHOM (ORCPT ); Fri, 8 Sep 2017 03:14:12 -0400 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Fri, 08 Sep 2017 00:13:56 -0700 Message-ID: <59B2431E.3050706@nvidia.com> Date: Fri, 8 Sep 2017 12:43:34 +0530 From: Laxman Dewangan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Daniel Lezcano , CC: , Zhang Rui , open list Subject: Re: [PATCH V2] thermal/drivers/generic-iio-adc: Switch tz request to devm version References: <20170908025606.GA2755@localhost.localdomain> <1504854117-18392-1-git-send-email-daniel.lezcano@linaro.org> In-Reply-To: <1504854117-18392-1-git-send-email-daniel.lezcano@linaro.org> X-Originating-IP: [10.19.65.30] X-ClientProxiedBy: DRBGMAIL102.nvidia.com (10.18.16.21) To bgmail102.nvidia.com (10.25.59.11) Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 554 Lines: 18 On Friday 08 September 2017 12:31 PM, Daniel Lezcano wrote: > Everything mentionned here: > https://lkml.org/lkml/2016/4/20/850 > > This driver was added before the devm_iio_channel_get() function version was > merged. The sensor should be released before the iio channel, thus we had to > use the non-devm version of thermal_zone_of_sensor_register(). > > Now the devm_iio_channel_get() is available, do the corresponding change in > this driver and remove gadc_thermal_remove(). > > Acked-by: Laxman Dewangan Thanks, Laxman