summaryrefslogtreecommitdiff
path: root/block/genhd.c
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2017-03-15 08:31:38 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-03-24 08:30:03 -0300
commitc3d4fb0fb41f4b5eafeee51173c14e50be12f839 (patch)
tree89301324ef1ae0b2df1e5fdf3173d354380200d7 /block/genhd.c
parentec6b0bd54e00beabfdf45d1f3aba8dfb79f52b53 (diff)
downloadlinux-c3d4fb0fb41f4b5eafeee51173c14e50be12f839.tar.gz
linux-c3d4fb0fb41f4b5eafeee51173c14e50be12f839.tar.xz
[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 <p.zabel@pengutronix.de> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions