Re: [PATCH 2.6.11-rc2] I2C: lm80 driver improvement (From Aurelien) - Resubmit #2

From: Shawn Starr
Date: Wed Jan 26 2005 - 22:08:38 EST


Here is the corrected fix, yeah that didn't make
sense.
3AM isn't a good time to send patches I guess :-)

--- Greg KH <greg@xxxxxxxxx> wrote:
> On Wed, Jan 26, 2005 at 02:57:35AM -0500, Shawn
> Starr wrote:
> > static inline unsigned char FAN_TO_REG(unsigned
> rpm, unsigned div)
> > {
> > - if (rpm == 0)
> > + if (rpm <= 0)
>
> As was pointed out, this doesn't make any sense.
>
> Care to redo the patch?
>
> thanks,
>
> greg k-h
>

Attachment: lm80-fixup-2.diff
Description: lm80-fixup-2.diff