tree 89301324ef1ae0b2df1e5fdf3173d354380200d7 parent ec6b0bd54e00beabfdf45d1f3aba8dfb79f52b53 author Philipp Zabel 1489577498 -0300 committer Mauro Carvalho Chehab 1490355003 -0300 [media] rc: sunxi-cir: 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 devm_reset_control_get_optional and to call reset_control_(de)assert unconditionally. Signed-off-by: Philipp Zabel Signed-off-by: Sean Young Signed-off-by: Mauro Carvalho Chehab