Re: [PATCH 03/13] thermal: remove useless call to thermal_zone_device_set_polling

2015-04-06 Thread Eduardo Valentin
On Thu, Mar 26, 2015 at 04:53:50PM +0100, Sascha Hauer wrote: > When the thermal zone has no get_temp callback then > thermal_zone_device_register() > calls thermal_zone_device_set_polling() with a polling delay of 0. This > only cancels the poll_queue. Since the poll_queue hasn't been scheduled t

[PATCH 03/13] thermal: remove useless call to thermal_zone_device_set_polling

2015-03-26 Thread Sascha Hauer
When the thermal zone has no get_temp callback then thermal_zone_device_register() calls thermal_zone_device_set_polling() with a polling delay of 0. This only cancels the poll_queue. Since the poll_queue hasn't been scheduled this is a no-op. Remove it. Signed-off-by: Sascha Hauer --- drivers/