Return -errno in functions returning a negative error code
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 19 May 2010 21:11:34 +0000 (23:11 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 19 May 2010 21:11:34 +0000 (23:11 +0200)
commit5154f4d6f89e9853b768fc0ec470fa4dff5f890a
tree700d856bedf3d8cc088b5fc9b869f9a74e77d2cc
parentabbd1a3b585c685426196f066ad7fd417ed730a0
Return -errno in functions returning a negative error code

errno is a positive value, fix functions that return errno when they are
expected to return a negative error code.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
subdev.c