]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (3344b): don't ignore return from i2c_add_driver() for tuner-3036
authorArthur Othieno <a.othieno@bluewin.ch>
Wed, 11 Jan 2006 21:41:04 +0000 (19:41 -0200)
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>
Wed, 11 Jan 2006 21:41:04 +0000 (19:41 -0200)
commitd4437d3fada351d7f40bcc48a62c12b92e2ad9d8
tree8e61010ddc3a88d6a347bba66e1b79810281f66d
parent7408187d223f63d46a13b6a35b8f96b032c2f623
V4L/DVB (3344b): don't ignore return from i2c_add_driver() for tuner-3036

The call to i2c_add_driver() may actually fail, but tuner-3036 ignores
this and always returns 0, regardless.

Fix it up so it returns what i2c_add_driver() does, instead.

Signed-off-by: Arthur Othieno <a.othieno@bluewin.ch>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tuner-3036.c