From mboxrd@z Thu Jan 1 00:00:00 1970 From: Javi Merino Subject: Re: [PATCH] thermal: power_allocator: do not use devm* interfaces Date: Wed, 5 Aug 2015 09:29:11 +0100 Message-ID: <20150805082910.GB2688@e104805> References: <20150804163340.GA33245@dtor-ws> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from fw-tnat.cambridge.arm.com ([217.140.96.140]:37255 "EHLO cam-smtp0.cambridge.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750989AbbHEI30 (ORCPT ); Wed, 5 Aug 2015 04:29:26 -0400 Content-Disposition: inline In-Reply-To: <20150804163340.GA33245@dtor-ws> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Eduardo Valentin , Dmitry Torokhov Cc: Zhang Rui , Lukasz Majewski , Peter Feuerer , Sascha Hauer , Punit Agrawal , "linux-pm@vger.kernel.org" , "linux-kernel@vger.kernel.org" On Tue, Aug 04, 2015 at 05:33:40PM +0100, Dmitry Torokhov wrote: > The code in question is called outside of standard driver > probe()/remove() callbacks and thus will not benefit from use of devm* > infrastructure. > > Signed-off-by: Dmitry Torokhov We added the devm* calls because Eduardo asked for them in the review. I don't have a strong opinion regarding this, I'll leave the decision to Eduardo. Cheers, Javi