]> err.no Git - linux-2.6/commit
hwmon: (dme1737) cleanups
authorJuerg Haefliger <juergh@gmail.com>
Tue, 2 Oct 2007 04:19:04 +0000 (21:19 -0700)
committerMark M. Hoffman <mhoffman@lightlink.com>
Thu, 11 Oct 2007 02:23:04 +0000 (22:23 -0400)
commitb237eb25d8e81c31ba561990445cfe4448c9de14
tree2cba3b05a7e0c14482dda2a7b6258f1be9ae947c
parentbbf25010f1a6b761914430f5fca081ec8c7accd1
hwmon: (dme1737) cleanups

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: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/dme1737.c