summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/mt9m111.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2008-08-14 17:03:18 +0200
committerGuennadi Liakhovetski <g.liakhovetski@gmx.de>2008-08-14 17:03:18 +0200
commit2068653681ec2030c378a0d1e25d1d451f7cd929 (patch)
tree8a1dcff1cec787089f93f56c0d4562e452f87887 /linux/drivers/media/video/mt9m111.c
parentabbb53148b769e275aba74bdf00b7dc50b937628 (diff)
downloadmediapointer-dvb-s2-2068653681ec2030c378a0d1e25d1d451f7cd929.tar.gz
mediapointer-dvb-s2-2068653681ec2030c378a0d1e25d1d451f7cd929.tar.bz2
mt9m001, mt9v022: Simplify return code checking
i2c_smbus_write_word_data() returns 0 or a negative error, hence no need to check for "> 0". Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> --- drivers/media/video/mt9m001.c | 24 ++++++++++++------------ drivers/media/video/mt9v022.c | 28 ++++++++++++++-------------- 2 files changed, 26 insertions(+), 26 deletions(-)
Diffstat (limited to 'linux/drivers/media/video/mt9m111.c')
0 files changed, 0 insertions, 0 deletions