Philipp Zabel 8ec32c38ef 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>
2017-04-11 10:58:22 +03:00
..
2017-01-24 16:19:08 +02:00
2017-01-26 15:36:28 +01:00
2017-01-24 16:19:07 +02:00
2017-01-24 16:19:07 +02:00
2016-11-18 13:54:10 +02:00