]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (4379): Videodev: Check return value of class_device_register() correctly
authorTrent Piepho <xyzzy@speakeasy.org>
Tue, 25 Jul 2006 23:37:03 +0000 (20:37 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sat, 29 Jul 2006 20:22:38 +0000 (17:22 -0300)
commit8c313111a2c843610f58d57b4e02159fecef4bbf
treef75d835bdb46a154a8aaec8f0ff97ddfe7320e3d
parent08d41808362a3663c0856c9720ad940a61156fb5
V4L/DVB (4379): Videodev: Check return value of class_device_register() correctly

Errors are return values < 0, not != 0.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/videodev.c