]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] i2c-i801: Merge setup function
authorJean Delvare <khali@linux-fr.org>
Mon, 12 Jun 2006 19:53:41 +0000 (21:53 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Jun 2006 18:10:35 +0000 (11:10 -0700)
commit20131fa97dbfe159f536064ca67e78a01a8fb3d0
tree965487234823f6d4895512d575d3f6a198182a37
parent2f09f64b87580636a9a52b8e724c43c8e6cb12bd
[PATCH] i2c-i801: Merge setup function

i2c-i801: Merge setup function

Merge i801_setup into i801_probe, as it doesn't make much sense to
have them split. This lets us handle errors better. Christopher
Hellwig had been suggesting this back in March 2003 when the driver
was merged.

Also drop two useless debug messages (revision and base address can be
obtained from lspci, procfs or sysfs.)

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