summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/function
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2017-03-15 12:31:53 +0100
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-04-11 09:58:22 +0200
commit8ec32c38efa5f9f92b275148ccb247156f0bf04e (patch)
tree77690f4ee8aee164a275cfafa62b0347bed83bbc /drivers/usb/gadget/function
parentusb: phy: Remove unused config (diff)
downloadlinux-8ec32c38efa5f9f92b275148ccb247156f0bf04e.tar.xz
linux-8ec32c38efa5f9f92b275148ccb247156f0bf04e.zip
usb: dwc2: simplify optional reset handling
As of commit bb475230b8e5 ("reset: make optional functions really optional"), the reset framework API calls use NULL pointers to describe optional, non-present reset controls. This allows to return errors from devm_reset_control_get_optional and to call reset_control_(de)assert unconditionally. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/gadget/function')
0 files changed, 0 insertions, 0 deletions