reset: Supply *_shared variant calls when using *_optional APIs
authorLee Jones <lee.jones@linaro.org>
Mon, 6 Jun 2016 15:56:52 +0000 (16:56 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 29 Jun 2016 19:24:53 +0000 (21:24 +0200)
commitc33d61a0c400c50f378ef03a386e646abca292ca
tree62ed6c8767cb9c3a5b571dbd41a5b2b162742c77
parent40faee8ee471ae526344cd5c62ff520d356de841
reset: Supply *_shared variant calls when using *_optional APIs

Consumers need to be able to specify whether they are requesting an
'exclusive' or 'shared' reset line no matter which API (of_*, devm_*,
etc) they are using.  This change allows users of the optional_* API
in particular to specify that their request is for a 'shared' line.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
include/linux/reset.h