diff options
| author | Philipp Zabel <p.zabel@pengutronix.de> | 2017-03-15 12:31:53 +0100 |
|---|---|---|
| committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-04-11 10:58:22 +0300 |
| commit | 8ec32c38efa5f9f92b275148ccb247156f0bf04e (patch) | |
| tree | 77690f4ee8aee164a275cfafa62b0347bed83bbc /include | |
| parent | 20839dbb7da5ad77e18bb51f5f56221290bc759e (diff) | |
| download | cachepc-linux-8ec32c38efa5f9f92b275148ccb247156f0bf04e.tar.gz cachepc-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 'include')
0 files changed, 0 insertions, 0 deletions
