V4L/DVB (8685): mt9m001, mt9v022: Simplify return code checking
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 14 Aug 2008 15:03:18 +0000 (12:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:36:50 +0000 (09:36 -0200)
commit112116410aaab5310a9a279c71fb76605236e448
tree8184853dc7113f507cc0be3f698d4a9e466c85a1
parent77110abbfbfd7673be6d18ef0875350eabee7532
V4L/DVB (8685): 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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mt9m001.c
drivers/media/video/mt9v022.c