diff options
author | 2006-06-12 21:52:02 +0200 | |
---|---|---|
committer | 2006-06-22 11:10:35 -0700 | |
commit | 455f332323a17446fb66ea7b2f65f2751f1a3f06 (patch) | |
tree | e5e8011731dd00b41bd1dbf035bc9595afa1f114 /drivers/i2c/i2c-dev.c | |
parent | [PATCH] i2c-i801: Remove PCI function check (diff) | |
download | wireguard-linux-455f332323a17446fb66ea7b2f65f2751f1a3f06.tar.xz wireguard-linux-455f332323a17446fb66ea7b2f65f2751f1a3f06.zip |
[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>
Diffstat (limited to 'drivers/i2c/i2c-dev.c')
0 files changed, 0 insertions, 0 deletions