Messages in this thread | | | Date | Sat, 8 Mar 2014 23:34:28 +0100 | From | Wolfram Sang <> | Subject | Re: [PATCH] reset: Add optional resets and stubs |
| |
On Fri, Mar 07, 2014 at 03:30:23PM +0100, Philipp Zabel wrote: > This patch adds device_reset_optional and (devm_)reset_control_get_optional > variants that drivers can use to indicate they can function without control > over the reset line. For those functions, stubs are added so the drivers can > be compiled with CONFIG_RESET_CONTROLLER disabled. > Also, device_reset is annotated with __must_check. Drivers ignoring the return > value should use device_reset_optional instead. > > Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
[unhandled content-type:application/pgp-signature] | |