• Jean Delvare's avatar
    [PATCH] I2C: Refactor swap_bytes in i2c chip drivers · e6a18823
    Jean Delvare authored
    > 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.
    
    Oh, I didn't know such a function existed, sorry.
    
    Here's a new patch, hope you like it. Tested to work on my as99127f, btw
    (w83781d driver).
    
    Documentation update follows (well, tomorrow it does).
    e6a18823
w83781d.c 50.8 KB