• Mark M. Hoffman's avatar
    [PATCH] I2C: sensor chip driver refactoring · cbc22621
    Mark M. Hoffman authored
    This patch is a refactoring of some common code among all sensors chip
    drivers (except asb100, which was written this way to begin with.)
    It saves a handful of lines and ~100-300 bytes per module.  It compiles
    ok.  I've only tested it against one of the drivers, but the changes are
    similar across the board and quite mechanical.  Please apply.
    cbc22621
lm83.c 11.3 KB