On Mon, Mar 29, 2004 at 09:23:03PM +0200, Jean Delvare wrote: > Hi Greg, > > This simple patch refactors the swap_bytes function that various chip > drivers use. I moved it to lm75.h because all drivers using lm75-like > temperature sensors will most necessarily need to swap bytes. > > Apply if you like it, Ick, no, we should be using the proper kernel call for this, swab16(), right? Care to redo this patch to just fix the drivers and get rid of our duplicating of this function. thanks, greg k-h