usb: misc: usb3503: Factor out I2C probe
authorMark Brown <broonie@linaro.org>
Fri, 9 Aug 2013 10:41:53 +0000 (11:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 19:20:26 +0000 (12:20 -0700)
commit2487e3ee33dd6c4fa3dabbe11bc988883be81f1e
treea051a4555160990f81bb6f184853d62d01f69492
parent68b14134be55eca7340b9a8b3ec4cb8f79622a3c
usb: misc: usb3503: Factor out I2C probe

In preparation for supporting operation without an I2C control interface
factor out the I2C-specific parts of the probe routine from those that
don't do any register I/O.

Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/usb3503.c