Re: [PATCH] thermal/drivers/of: Add a get_temp_id callback function

2019-06-05 Thread Andrey Smirnov
On Tue, May 28, 2019 at 8:05 PM Eduardo Valentin wrote: > > On Thu, May 23, 2019 at 07:48:56PM -0700, Andrey Smirnov wrote: > > On Mon, Apr 29, 2019 at 9:51 AM Daniel Lezcano > > wrote: > > > > > > On 24/04/2019 01:08, Daniel Lezcano wrote: > > > > On 23/04/2019 17:44, Eduardo Valentin wrote: > >

Re: [PATCH] thermal/drivers/of: Add a get_temp_id callback function

2019-05-28 Thread Eduardo Valentin
On Thu, May 23, 2019 at 07:48:56PM -0700, Andrey Smirnov wrote: > On Mon, Apr 29, 2019 at 9:51 AM Daniel Lezcano > wrote: > > > > On 24/04/2019 01:08, Daniel Lezcano wrote: > > > On 23/04/2019 17:44, Eduardo Valentin wrote: > > >> Hello, > > >> > > >> On Tue, Apr 16, 2019 at 07:22:03PM +0200, Dani

Re: [PATCH] thermal/drivers/of: Add a get_temp_id callback function

2019-05-23 Thread Andrey Smirnov
On Mon, Apr 29, 2019 at 9:51 AM Daniel Lezcano wrote: > > On 24/04/2019 01:08, Daniel Lezcano wrote: > > On 23/04/2019 17:44, Eduardo Valentin wrote: > >> Hello, > >> > >> On Tue, Apr 16, 2019 at 07:22:03PM +0200, Daniel Lezcano wrote: > >>> Currently when we register a sensor, we specify the sens

Re: [PATCH] thermal/drivers/of: Add a get_temp_id callback function

2019-04-29 Thread Daniel Lezcano
On 24/04/2019 01:08, Daniel Lezcano wrote: > On 23/04/2019 17:44, Eduardo Valentin wrote: >> Hello, >> >> On Tue, Apr 16, 2019 at 07:22:03PM +0200, Daniel Lezcano wrote: >>> Currently when we register a sensor, we specify the sensor id and a data >>> pointer to be passed when the get_temp function

Re: [PATCH] thermal/drivers/of: Add a get_temp_id callback function

2019-04-23 Thread Daniel Lezcano
On 23/04/2019 17:44, Eduardo Valentin wrote: > Hello, > > On Tue, Apr 16, 2019 at 07:22:03PM +0200, Daniel Lezcano wrote: >> Currently when we register a sensor, we specify the sensor id and a data >> pointer to be passed when the get_temp function is called. However the >> sensor_id is not passed

Re: [PATCH] thermal/drivers/of: Add a get_temp_id callback function

2019-04-23 Thread Eduardo Valentin
Hello, On Tue, Apr 16, 2019 at 07:22:03PM +0200, Daniel Lezcano wrote: > Currently when we register a sensor, we specify the sensor id and a data > pointer to be passed when the get_temp function is called. However the > sensor_id is not passed to the get_temp callback forcing the driver to > do e

[PATCH] thermal/drivers/of: Add a get_temp_id callback function

2019-04-16 Thread Daniel Lezcano
Currently when we register a sensor, we specify the sensor id and a data pointer to be passed when the get_temp function is called. However the sensor_id is not passed to the get_temp callback forcing the driver to do extra allocation and adding back pointer to find out from the sensor information