diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2008-08-14 12:03:18 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 09:36:50 -0200 |
commit | 112116410aaab5310a9a279c71fb76605236e448 (patch) | |
tree | 8184853dc7113f507cc0be3f698d4a9e466c85a1 /drivers/media/video/mt9m111.c | |
parent | 77110abbfbfd7673be6d18ef0875350eabee7532 (diff) |
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>
Diffstat (limited to 'drivers/media/video/mt9m111.c')
0 files changed, 0 insertions, 0 deletions