USB: fix I2C API usage in ohci-pnx4008.
authorLuotao Fu <l.fu@pengutronix.de>
Fri, 19 Feb 2010 14:42:00 +0000 (15:42 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:55:15 +0000 (14:55 -0800)
commit8740cc7d0c532e098cc428251c08befd14f087d8
tree00ac60b2811c9c320df606a424d29c4177ed797f
parent47cb17089c059d24e5da03f2b44ee3a089075b78
USB: fix I2C API usage in ohci-pnx4008.

i2c_board_info doesn't contain a member called name. i2c_register_client
call does not exist.

Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
Acked-by: Jean Delvare <khali@linux-fr.org>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ohci-pnx4008.c