Jean Delvare c2f559d5df [PATCH] i2c-viapro: Code cleanups
Cleanups to the i2c-viapro driver:
* Kill unused defines.
* Kill interrupt-related code, as the driver doesn't use interrupts.
* Fix broken comments (some copied from i2c-piix4.)
* Centralize the unsupported command error case in vt596_access.
  That way we'll catch all unsupported commands, not only
  I2C_SMBUS_PROC_CALL.
* Refactor some code.
* Convert some dev_dbg into dev_err. Errors better be reported even in
  non-debug mode.
* Do not verify that the final reset succeeded. It'll be checked at
  the beginning of the next transaction anyway.
* Use the driver name to reserve the I/O region.
* Do not print the contents of the SMBREV register, it reads 0 on all
  chips I've seen so far.
* Some other minor fixes all over the place.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

 drivers/i2c/busses/i2c-viapro.c |  122 +++++++++++++---------------------------
 1 file changed, 41 insertions(+), 81 deletions(-)
2005-10-28 14:02:08 -07:00
..
2005-09-20 21:01:13 +01:00
2005-10-28 10:13:16 -07:00
2005-10-28 10:13:16 -07:00
2005-07-30 09:47:53 -05:00
2005-10-28 14:02:08 -07:00
2005-10-28 10:13:16 -07:00
2005-10-28 10:13:16 -07:00
2005-10-28 10:13:16 -07:00
2005-10-28 10:13:16 -07:00
2005-04-16 15:20:36 -07:00
2005-10-28 12:18:07 -04:00
2005-10-28 10:13:16 -07:00
2005-09-08 01:45:47 -04:00
2005-10-28 10:13:16 -07:00
2005-06-21 18:46:32 -07:00
2005-10-28 10:13:16 -07:00
2005-09-11 19:15:07 -07:00
2005-09-11 19:15:07 -07:00