Re: [PATCH-2.5] Fix w83781d sensor to use Milli-Volt for in_* in

Martin Schlemmer (azarah@gentoo.org)
08 Apr 2003 06:11:18 +0200


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-10593-1049775331-0001-2
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2003-04-07 at 23:54, Greg KH wrote:
> On Mon, Apr 07, 2003 at 11:16:03PM +0200, Martin Schlemmer wrote:
> > --- drivers/i2c/chips/w83781d.c.orig 2003-04-07 22:53:37.000000000 +020=
0
> > +++ drivers/i2c/chips/w83781d.c 2003-04-07 22:53:34.000000000 +0200
> > @@ -364,7 +364,7 @@
> > \
> > w83781d_update_client(client); \
> > \
> > - return sprintf(buf,"%ld\n", (long)IN_FROM_REG(data->reg[nr] * 10)); \
> > + return sprintf(buf,"%ld\n", (long)IN_FROM_REG(data->reg[nr])); \
>=20
> Hm, this patch looks backwards, is it?
>=20
> Also, just as a side note, can you make your patches so that they can be
> applied with "patch -p1" instead of "patch -p0" which your current ones
> are? My tools treat -p1 patches much better :)
>=20

Yes, sorry, that is reverse. I have to go to work in a bit, so if you
need me to resend tonight, just ask.

--=20

Martin Schlemmer

--=_courier-10593-1049775331-0001-2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Transfer-Encoding: 7bit
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA+kkvlqburzKaJYLYRAl7AAJ9dDs80zAcnNwAQeWqQiC5rWeIQjQCfR3EE
G9BmDCWy+V47kR8WsGQwwNw=
=L5yh
-----END PGP SIGNATURE-----

--=_courier-10593-1049775331-0001-2--