[lm-sensors] [2.6 patch] make abituguru3_read_increment_offset() static
Mark M. Hoffman
mhoffman at lightlink.com
Sun Jul 29 20:45:31 CEST 2007
Hi:
* Hans de Goede <j.w.r.degoede at hhs.nl> [2007-07-29 18:08:46 +0200]:
> Adrian Bunk wrote:
> >abituguru3_read_increment_offset() can become static.
> >
> >Signed-off-by: Adrian Bunk <bunk at stusta.de>
>
> Looks good, good catch.
>
> Acked-by: Hans de Goede <j.w.r.degoede at hhs.nl>
>
> >
> >---
> >--- linux-2.6.23-rc1-mm1/drivers/hwmon/abituguru3.c.old 2007-07-26
> >08:56:33.000000000 +0200
> >+++ linux-2.6.23-rc1-mm1/drivers/hwmon/abituguru3.c 2007-07-26
> >08:57:00.000000000 +0200
> >@@ -691,8 +691,9 @@
> >
> > /* Sensor settings are stored 1 byte per offset with the bytes
> > placed add consecutive offsets. */
> >-int abituguru3_read_increment_offset(struct abituguru3_data *data, u8
> >bank,
> >- u8 offset, u8 count, u8 *buf, int offset_count)
> >+static int abituguru3_read_increment_offset(struct abituguru3_data *data,
> >+ u8 bank, u8 offset, u8 count,
> >+ u8 *buf, int offset_count)
> > {
> > int i, x;
> >
> >
Applied to hwmon-2.6.git/testing, thanks.
--
Mark M. Hoffman
mhoffman at lightlink.com
More information about the lm-sensors
mailing list