Re: [PATCH 2/3] thermal: of: consolidate sensor callbacks as ops

2014-12-01 Thread navneet kumar
Hi Eduardo, On 11/27/2014 06:28 AM, Eduardo Valentin wrote: > * PGP Signed by an unknown key > > > Hello Navneet, > > On Wed, Nov 26, 2014 at 05:16:28PM -0800, Navneet Kumar wrote: >> From: navneet kumar >> >> Consolidate all the sensor callbacks (get_temp/get_trend) >> into a 'thermal_of_sen

Re: [PATCH 2/3] thermal: of: consolidate sensor callbacks as ops

2014-11-27 Thread Eduardo Valentin
Hello Navneet, On Wed, Nov 26, 2014 at 05:16:28PM -0800, Navneet Kumar wrote: > From: navneet kumar > > Consolidate all the sensor callbacks (get_temp/get_trend) > into a 'thermal_of_sensor_ops' struct. > > As a part of this, introduce a 'thermal_zone_of_sensor_register2' > sensor API that acc

[PATCH 2/3] thermal: of: consolidate sensor callbacks as ops

2014-11-26 Thread Navneet Kumar
From: navneet kumar Consolidate all the sensor callbacks (get_temp/get_trend) into a 'thermal_of_sensor_ops' struct. As a part of this, introduce a 'thermal_zone_of_sensor_register2' sensor API that accepts sensor_ops instead of the two callbacks as separate arguments to the register function.