Re: [PATCHv2 1/1] thermal: of: improve of-thermal sensor registration API

2014-11-17 Thread Eduardo Valentin
Mikko, On Tue, Nov 18, 2014 at 02:11:21AM +0200, Mikko Perttunen wrote: > > diff --git a/drivers/thermal/tegra_soctherm.c > > b/drivers/thermal/tegra_soctherm.c > > index 70f7e9e..893c39c 100644 > > --- a/drivers/thermal/tegra_soctherm.c > > +++ b/drivers/thermal/tegra_soctherm.c > > @@

Re: [PATCHv2 1/1] thermal: of: improve of-thermal sensor registration API

2014-11-17 Thread Mikko Perttunen
On 11/18/2014 12:44 AM, Eduardo Valentin wrote: Different drivers request API extensions in of-thermal. For this reason, additional callbacks are required to fit the new drivers needs. The current API implementation expects the registering sensor driver to provide a get_temp and get_trend

[PATCHv2 1/1] thermal: of: improve of-thermal sensor registration API

2014-11-17 Thread Eduardo Valentin
Different drivers request API extensions in of-thermal. For this reason, additional callbacks are required to fit the new drivers needs. The current API implementation expects the registering sensor driver to provide a get_temp and get_trend callbacks as function parameters. As the amount of

[PATCHv2 1/1] thermal: of: improve of-thermal sensor registration API

2014-11-17 Thread Eduardo Valentin
Different drivers request API extensions in of-thermal. For this reason, additional callbacks are required to fit the new drivers needs. The current API implementation expects the registering sensor driver to provide a get_temp and get_trend callbacks as function parameters. As the amount of

Re: [PATCHv2 1/1] thermal: of: improve of-thermal sensor registration API

2014-11-17 Thread Mikko Perttunen
On 11/18/2014 12:44 AM, Eduardo Valentin wrote: Different drivers request API extensions in of-thermal. For this reason, additional callbacks are required to fit the new drivers needs. The current API implementation expects the registering sensor driver to provide a get_temp and get_trend

Re: [PATCHv2 1/1] thermal: of: improve of-thermal sensor registration API

2014-11-17 Thread Eduardo Valentin
Mikko, On Tue, Nov 18, 2014 at 02:11:21AM +0200, Mikko Perttunen wrote: big cut diff --git a/drivers/thermal/tegra_soctherm.c b/drivers/thermal/tegra_soctherm.c index 70f7e9e..893c39c 100644 --- a/drivers/thermal/tegra_soctherm.c +++ b/drivers/thermal/tegra_soctherm.c @@ -317,6