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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 +317,10 @@ static int tegra_thermctl_get_temp(void *data, long *out_temp)
> >   	return 0;
> >   }
> >
> > +static const struct thermal_zone_of_device_ops tegra_of_thermal_ops = {
> > +	.get_trend = tegra_thermctl_get_temp,
> > +};
> 
> This should probably read ".get_temp = tegra_thermctl_get_temp" instead 
> of .get_trend :)

Indeed. Sending in v3.

> 
> > ...
> 
> Cheers,
> Mikko
> 

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux