linux/drivers/video/matrox
Jean Delvare 5ede40f879 matrox maven: fix a broken error path
I broke an error path with d03c21ec0b,
sorry about that.

The machine will crash if the i2c_attach_client() or maven_init_client()
calls fail, although nobody has yet reported this happening.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: Petr Vandrovec <VANDROVE@vc.cvut.cz>
Cc: <stable@kernel.org>		[2.6.25.x, 2.6.26.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-08-12 16:07:29 -07:00
..
g450_pll.c matroxfb: rectify jitter (G450/G550) 2007-08-11 15:47:40 -07:00
g450_pll.h
i2c-matroxfb.c i2c: Let framebuffer drivers set their I2C bus class to DDC 2008-07-14 22:38:28 +02:00
Makefile
matroxfb_accel.c video: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:42 -07:00
matroxfb_accel.h
matroxfb_base.c Remove newline from the description of module parameters 2008-08-01 12:46:41 -07:00
matroxfb_base.h fbdev: fix integer as NULL pointer warning 2008-05-23 08:11:07 -07:00
matroxfb_crtc2.c video: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:42 -07:00
matroxfb_crtc2.h matroxfb: color setting fixes 2007-07-17 10:23:13 -07:00
matroxfb_DAC1064.c video: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:42 -07:00
matroxfb_DAC1064.h matroxfb: rectify jitter (G450/G550) 2007-08-11 15:47:40 -07:00
matroxfb_g450.c fbdev: change asm/uaccess.h to linux/uaccess.h 2007-10-16 09:43:17 -07:00
matroxfb_g450.h
matroxfb_maven.c matrox maven: fix a broken error path 2008-08-12 16:07:29 -07:00
matroxfb_maven.h
matroxfb_misc.c video: use get/put_unaligned_* helpers 2008-04-29 08:06:28 -07:00
matroxfb_misc.h
matroxfb_Ti3026.c video: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:42 -07:00
matroxfb_Ti3026.h