commit | bb475230b8e59a547ab66ac3b02572df21a580e9 | [log] [tgz] |
---|---|---|
author | Ramiro Oliveira <Ramiro.Oliveira@synopsys.com> | Fri Jan 13 17:57:41 2017 +0000 |
committer | Philipp Zabel <p.zabel@pengutronix.de> | Fri Jan 20 10:36:15 2017 +0100 |
tree | 9fecc3af684950c395564fe3f5656ed1520589df | |
parent | ee48c726d0b014ac8dd5ec803fb63ce0596a42cf [diff] |
reset: make optional functions really optional The *_get_optional_* functions weren't really optional so this patch makes them really optional. These *_get_optional_* functions will now return NULL instead of an error if no matching reset phandle is found in the DT, and all the reset_control_* functions now accept NULL rstc pointers. Signed-off-by: Ramiro Oliveira <Ramiro.Oliveira@synopsys.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>