Re: [PATCH 01/19] thermal: allow registering without .get_temp

2014-03-25 Thread Alex Shi
On 03/26/2014 10:23 AM, Zhang Rui wrote: >> From: Eduardo Valentin >> > >> > This patch changes the thermal core driver to allow >> > registration of thermal zones without the .get_temp callback. >> > >> > The idea behind this change is to allow lazy registration >> > of sensor callbacks. >> >

Re: [PATCH 01/19] thermal: allow registering without .get_temp

2014-03-25 Thread Zhang Rui
On Tue, 2014-03-25 at 18:49 +0800, Alex Shi wrote: > From: Eduardo Valentin > > This patch changes the thermal core driver to allow > registration of thermal zones without the .get_temp callback. > > The idea behind this change is to allow lazy registration > of sensor callbacks. > > The therma

[PATCH 01/19] thermal: allow registering without .get_temp

2014-03-25 Thread Alex Shi
From: Eduardo Valentin This patch changes the thermal core driver to allow registration of thermal zones without the .get_temp callback. The idea behind this change is to allow lazy registration of sensor callbacks. The thermal zone will be disabled whenever the ops does not contain a .get_temp