OSDN Git Service

USB: ohci-nxp: Remove i2c_write(), use smbus
authorRoland Stigge <stigge@antcom.de>
Mon, 12 Mar 2012 21:54:52 +0000 (22:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Mar 2012 21:27:28 +0000 (14:27 -0700)
commita6a36008d7d735351d11af357fae7fc2827b46eb
treecae37bcb2618000da3bd77c62c139abd41fc3090
parent53dc25ada62ff418bbbffb6bd982ed923cd84021
USB: ohci-nxp: Remove i2c_write(), use smbus

This patch removes the re-coded i2c_write function from the ohci-nxp driver
in favour of using just smbus functions.

Signed-off-by: Roland Stigge <stigge@antcom.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-nxp.c