commit | aa31e559f7f9267cc65ac7029bdf19b5b3635eaf | [log] [tgz] |
---|---|---|
author | Philipp Zabel <p.zabel@pengutronix.de> | Fri Mar 05 10:12:36 2021 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Sat Mar 13 00:04:07 2021 +1100 |
tree | 6bb7261c82bd05695c18b88e2902ddd5ea65c9fb | |
parent | e5f9f41d5e62004c913bfd4ddf06abe032f5ce1c [diff] |
crypto: sun4i-ss - 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 unconditionally return errors from devm_reset_control_get_optional_exclusive. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>