diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2017-03-15 14:31:36 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-03-24 14:29:27 +0300 |
commit | ec6b0bd54e00beabfdf45d1f3aba8dfb79f52b53 (patch) | |
tree | 2f827fe07b944c62c2fbd809f3e7e33ce414ebb9 /drivers/input/touchscreen/wm9705.c | |
parent | 03eb2a557ed552e920a0942b774aaf931596eec1 (diff) | |
download | linux-ec6b0bd54e00beabfdf45d1f3aba8dfb79f52b53.tar.xz |
[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 <p.zabel@pengutronix.de>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/input/touchscreen/wm9705.c')
0 files changed, 0 insertions, 0 deletions