• Juerg Haefliger's avatar
    hwmon: (dme1737) cleanups · b237eb25
    Juerg Haefliger authored
    This patch cleans up and prepares the dme1737 driver for support of the sch311x
    chips. (Almost) no functional changes.
    
    - Replaced whitespaces with tabs.
    - Removed empty lines.
    - Added _i2c_ to names of functions that are strictly I2C related.
    - Added 4 new functions: dme1737_create_files, dme1737_remove_files,
      dme1737_sio_enter, and dme1737_sio_exit.
    - Added error messages in case client attach/detach fails.
    
    Signed-off-by: Juerg Haefliger <juergh at gmail.com>
    Acked-by: default avatarJean Delvare <khali@linux-fr.org>
    Signed-off-by: default avatarMark M. Hoffman <mhoffman@lightlink.com>
    b237eb25
dme1737.c 59.6 KB