diff options
author | Mark Brown <broonie@linaro.org> | 2013-08-09 10:41:58 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-12 19:20:27 (GMT) |
commit | 3f0d1c67fa20d524fdcb4a7dcda19ed76c59be44 (patch) | |
tree | f0d9cefc79b8c7033b39194332cfac68e4709358 /drivers/usb/core/hcd.c | |
parent | e5162d40b90e3e2e01aadcac9d4f151ecb9ee051 (diff) | |
download | linux-fsl-qoriq-3f0d1c67fa20d524fdcb4a7dcda19ed76c59be44.tar.xz |
usb: misc: usb3503: Support operation with no I2C control
Refactor so that register writes for configuration are only performed if
the device has a regmap provided and also register as a platform driver.
This allows the driver to be used to manage GPIO based control of the
device.
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: devicetree@vger.kernel.org
Reviewed-by: Dongjin Kim <tobetter@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core/hcd.c')
0 files changed, 0 insertions, 0 deletions