Re: [PATCH] thermal: power_allocator: do not use devm* interfaces

2015-08-05 Thread Eduardo Valentin
On Wed, Aug 05, 2015 at 06:29:03PM +0100, Javi Merino wrote: > On Wed, Aug 05, 2015 at 05:50:20PM +0100, Dmitry Torokhov wrote: > > On Wed, Aug 05, 2015 at 09:29:11AM +0100, Javi Merino wrote: > > > On Tue, Aug 04, 2015 at 05:33:40PM +0100, Dmitry Torokhov wrote: > > > > The code in question is cal

Re: [PATCH] thermal: power_allocator: do not use devm* interfaces

2015-08-05 Thread Javi Merino
On Wed, Aug 05, 2015 at 05:50:20PM +0100, Dmitry Torokhov wrote: > On Wed, Aug 05, 2015 at 09:29:11AM +0100, Javi Merino wrote: > > 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 t

Re: [PATCH] thermal: power_allocator: do not use devm* interfaces

2015-08-05 Thread Dmitry Torokhov
On Wed, Aug 05, 2015 at 09:29:11AM +0100, Javi Merino wrote: > 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. > > > > Signe

Re: [PATCH] thermal: power_allocator: do not use devm* interfaces

2015-08-05 Thread Javi Merino
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 aske

[PATCH] thermal: power_allocator: do not use devm* interfaces

2015-08-04 Thread Dmitry Torokhov
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 --- drivers/thermal/power_allocator.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/driver