From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eduardo Valentin Subject: Re: [PATCHv2 1/1] thermal: of: improve of-thermal sensor registration API Date: Mon, 17 Nov 2014 20:01:36 -0400 Message-ID: <20141118000133.GA10027@developer> References: <1416263769-6578-2-git-send-email-edubezval@gmail.com> <1416264255-10083-1-git-send-email-edubezval@gmail.com> <546A8EA9.5070001@kapsi.fi> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Return-path: Content-Disposition: inline In-Reply-To: <546A8EA9.5070001-/1wQRMveznE@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Mikko Perttunen Cc: Linux PM , Caesar Wang , Wei Ni , Lukasz Majewski , Alexandre Courbot , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Grant Likely , Guenter Roeck , Jean Delvare , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org, Rob Herring , Stephen Warren , Thierry Reding , Zhang Rui List-Id: devicetree@vger.kernel.org --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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_s= octherm.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, lon= g *out_temp) > > return 0; > > } > > > > +static const struct thermal_zone_of_device_ops tegra_of_thermal_ops = =3D { > > + .get_trend =3D tegra_thermctl_get_temp, > > +}; >=20 > This should probably read ".get_temp =3D tegra_thermctl_get_temp" instead= =20 > of .get_trend :) Indeed. Sending in v3. >=20 > > ... >=20 > Cheers, > Mikko >=20 --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJUaoxTAAoJEMLUO4d9pOJWJAAH/2qZa9BRjOyRJafxzuMVJsPq n7vOsR67hXnAL0EI44g6GB6EWHT9dKlFz9P/9oQsdnVxwYJJdyX4w956ZW3Lu2XO uPc+6hwtkd/iFNs9weunfNG1UzRR/N+F4EDZJZwui8cCqstnhQKwp95LXxCxsj/S pcEjKbntS12X24HB759xsfKRE5YFlZ2HzBL5MDOBSR71Y583lya5vwShJQ+uuwRc 7ZWaHV26Wy0wiBnAbdDwlXSnkLPt/1E4rsFpM/gfGK5H0aXwpDaOzLHbvllIYrqO obXnaciSf0t1tODk1U6LrQiN944jbY4iSpaugwRx8g3ndNqPDzHT6E/paexIazs= =KoFZ -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe--