diff options
author | Ramiro Oliveira <Ramiro.Oliveira@synopsys.com> | 2017-01-13 17:57:41 +0000 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2017-01-20 10:36:15 +0100 |
commit | bb475230b8e59a547ab66ac3b02572df21a580e9 (patch) | |
tree | 9fecc3af684950c395564fe3f5656ed1520589df /lib/raid6/avx2.c | |
parent | ee48c726d0b014ac8dd5ec803fb63ce0596a42cf (diff) | |
download | linux-bb475230b8e59a547ab66ac3b02572df21a580e9.tar.gz linux-bb475230b8e59a547ab66ac3b02572df21a580e9.tar.bz2 linux-bb475230b8e59a547ab66ac3b02572df21a580e9.zip |
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>
Diffstat (limited to 'lib/raid6/avx2.c')
0 files changed, 0 insertions, 0 deletions