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

From: Greg KH (greg@kroah.com)
Date: Mon Apr 07 2003 - 16:54:43 EST


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 +0200
> +++ 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])); \

Hm, this patch looks backwards, is it?

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 :)

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Apr 07 2003 - 22:00:32 EST