kernel-ark/drivers/i2c
Jean Delvare fa63cd56d2 i2c-piix4: Various cleanups and minor fixes
The i2c-piix4 driver was used recently as a model to write a new SMBus
host controller driver and this made me realize that the code of this
old driver wasn't exactly good. So, here are many cleanups and minor
fixes to this driver, so that these minor mistakes aren't duplicated
again:

* Delete unused structure.
* Delete needless forward function declaration.
* Properly announce the SMBus host controller as we find it.
* Spell it SMBus not SMB.
* Return -EBUSY instead of -ENODEV when the I/O region is already in
  use.
* Drop useless masks on the 7-bit address and the R/W bit.
* Reject block transaction requests with an invalid block length.
* Check and report block transaction replies with an invalid block
  length.
* Delete a useless comment.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
2008-07-14 22:38:25 +02:00
..
algos i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
busses i2c-piix4: Various cleanups and minor fixes 2008-07-14 22:38:25 +02:00
chips i2c/max6875: Really prevent 24RF08 corruption 2008-05-18 20:49:41 +02:00
i2c-boardinfo.c
i2c-core.c i2c: i2c_use_client() defends against NULL 2008-07-14 22:38:24 +02:00
i2c-core.h
i2c-dev.c i2c-dev: Split i2cdev_ioctl 2008-04-22 22:16:47 +02:00
Kconfig [S390] Kconfig: menus with depends on HAS_IOMEM. 2007-05-10 15:46:07 +02:00
Makefile