• Jean Delvare's avatar
    i2c-algo-bit: Improve debugging · 494dbb64
    Jean Delvare authored
    Improve the debugging features of the i2c-algo-bit driver:
    * Make it possible to compile the driver without debugging support
      at all, making it much smaller.
    * Use dev_dbg() for debugging messages where possible, and dev_err()
      for error messages.
    * Remove redundant debugging messages.
    
    These changes allowed for minor code cleanups, which are included
    as well.
    Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
    494dbb64
i2c-algo-bit.c 15.1 KB