i2c-i801: Various cleanups
authorOleg Ryjkov <olegr@google.com>
Thu, 12 Jul 2007 12:12:31 +0000 (14:12 +0200)
committerJean Delvare <khali@hyperion.delvare>
Thu, 12 Jul 2007 12:12:31 +0000 (14:12 +0200)
commitca8b9e32a11a7cbfecbef00c8451a79fe1af392e
treeae5404a18928769a9d956a810c34239a4201749f
parenta92c344d8c640a812c7a9f5a5202d862cd052a0f
i2c-i801: Various cleanups

* Use defines instead of raw numbers for register bits
* Fix several wrong indentations and trailing whitespace
* Move hwpec timeout checking to a separate function

Signed-off-by: Oleg Ryjkov <olegr@google.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-i801.c