summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2017-03-15 12:31:35 +0100
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-06 13:12:45 +0200
commit834ebbc8f3a062f18131ff7ad7ddf27dc947e4c2 (patch)
treea7c0ed2db7445b41f79f7800088e212a859ffe81 /drivers/media/i2c
parent[media] cx231xx: Initial support Astrometa T2hybrid (diff)
downloadlinux-834ebbc8f3a062f18131ff7ad7ddf27dc947e4c2.tar.xz
linux-834ebbc8f3a062f18131ff7ad7ddf27dc947e4c2.zip
[media] coda: 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 without special cases and to call reset_control_reset unconditionally. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/i2c')
0 files changed, 0 insertions, 0 deletions