[PATCH] i2c-i801: Cleanups
authorJean Delvare <khali@linux-fr.org>
Mon, 12 Jun 2006 19:52:02 +0000 (21:52 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Jun 2006 18:10:35 +0000 (11:10 -0700)
commit455f332323a17446fb66ea7b2f65f2751f1a3f06
treee5e8011731dd00b41bd1dbf035bc9595afa1f114
parent520e64d5c081c76b77b4ee87d241cd3e40edc43a
[PATCH] i2c-i801: Cleanups

i2c-i801: Cleanups

Various cleanups to the i2c-i801 driver:
* Fix documentation file and self file name references.
* i801_setup can be marked __devinit.
* Drop useless error local variable and label in i801_setup.
* Avoid a double PCI configuration register write in some cases.
* Use symbolic names for SMBHSTCFG bits.
* Transmit the error code returned by i801_setup instead of forcing it
  to an arbitrary value.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/busses/i2c-i801.c