V4L/DVB (6976): drivers/media/radio/radio-sf16fmr2.c: fix error handling
commit98512f7b36ec412ea0461e9aab8f16c882df055d
authorAndrew Morton <akpm@linux-foundation.org>
Mon, 7 Jan 2008 08:24:51 +0000 (7 05:24 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:04:41 +0000 (25 19:04 -0200)
treea4b734f0ff9e5a8e28e222b333ccca79f7518454
parent1434bc0cbb842ed71eada244ac46185e3b17e4e2
V4L/DVB (6976): drivers/media/radio/radio-sf16fmr2.c: fix error handling

video_register_device() returns -EFOO on errr, not -1.

Addresses http://bugzilla.kernel.org/show_bug.cgi?id=9699

Reported-By: <devzero@web.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/radio/radio-sf16fmr2.c