From: Mark Brown Date: Fri, 9 Aug 2013 10:41:58 +0000 (+0100) Subject: usb: misc: usb3503: Support operation with no I2C control X-Git-Tag: v3.12-rc1~186^2~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f0d1c67fa20d524fdcb4a7dcda19ed76c59be44;p=pandora-kernel.git 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 Cc: devicetree@vger.kernel.org Reviewed-by: Dongjin Kim Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed