diff options
| author | Philipp Zabel <[email protected]> | 2017-03-15 08:31:36 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-03-24 08:29:27 -0300 |
| commit | ec6b0bd54e00beabfdf45d1f3aba8dfb79f52b53 (patch) | |
| tree | 2f827fe07b944c62c2fbd809f3e7e33ce414ebb9 /include | |
| parent | 03eb2a557ed552e920a0942b774aaf931596eec1 (diff) | |
[media] st_rc: 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 return errors from reset_control_get_optional and to call
reset_control_(de)assert unconditionally.
Signed-off-by: Philipp Zabel <[email protected]>
Acked-by: Patrice Chotard <[email protected]>
Signed-off-by: Sean Young <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions