kernel-ark/drivers
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
..
acorn
acpi
atm
base [PATCH] kernel-doc: drivers/base fixes 2005-10-28 09:52:56 -07:00
block Merge ../bleed-2.6 2005-10-28 10:13:16 -07:00
bluetooth [Bluetooth] Ignore additional interfaces of BPA 100/105 devices 2005-10-28 19:20:57 +02:00
cdrom
char Merge ../bleed-2.6 2005-10-28 10:13:16 -07:00
connector
cpufreq
crypto
dio
eisa
fc4
firmware
hwmon [PATCH] hwmon: Minor w83l785ts optimization 2005-10-28 14:02:07 -07:00
i2c [PATCH] i2c-viapro: Code cleanups 2005-10-28 14:02:08 -07:00
ide
ieee1394 Merge ../bleed-2.6 2005-10-28 10:13:16 -07:00
infiniband Merge ../bleed-2.6 2005-10-28 10:13:16 -07:00
input Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6 2005-10-28 13:09:47 -07:00
isdn
macintosh
mca
md
media [PATCH] DRIVER MODEL: Get rid of the obsolete tri-level suspend/resume callbacks 2005-10-28 09:52:56 -07:00
message
mfd [PATCH] DRIVER MODEL: Get rid of the obsolete tri-level suspend/resume callbacks 2005-10-28 09:52:56 -07:00
misc
mmc Merge ../bleed-2.6 2005-10-28 10:13:16 -07:00
mtd Merge ../bleed-2.6 2005-10-28 10:13:16 -07:00
net Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6 2005-10-28 13:09:47 -07:00
nubus
oprofile
parisc
parport
pci [PATCH] DRIVER MODEL: Get rid of the obsolete tri-level suspend/resume callbacks 2005-10-28 09:52:56 -07:00
pcmcia Merge ../bleed-2.6 2005-10-28 10:13:16 -07:00
pnp
s390 Merge ../bleed-2.6 2005-10-28 10:13:16 -07:00
sbus
scsi Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6 2005-10-28 13:09:47 -07:00
serial Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6 2005-10-28 13:09:47 -07:00
sh
sn
tc
telephony
usb Merge ../bleed-2.6 2005-10-28 10:13:16 -07:00
video Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6 2005-10-28 13:09:47 -07:00
w1
zorro
Kconfig
Makefile