[PATCH] matroxfb: simply return what i2c_add_driver() does
authorArthur Othieno <apgo@patchbomb.org>
Mon, 27 Mar 2006 09:17:24 +0000 (01:17 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 27 Mar 2006 16:44:55 +0000 (08:44 -0800)
commit756e21a022aba5214bafcf803f114aed8a783b99
treed41a2be43ed27563a13fb34b980453f8289d38ce
parentfc4effc7a98d0d320e478d1d42bc4a8a64380150
[PATCH] matroxfb: simply return what i2c_add_driver() does

insmod will tell us when the module failed to load.  We do no further
processing on the return from i2c_add_driver(), so just return what
i2c_add_driver() did, instead of storing it.

Add __init/__exit annotations while we're at it.

Signed-off-by: Arthur Othieno <apgo@patchbomb.org>
Acked-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Petr Vandrovec <petr@vandrovec.name>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/matrox/matroxfb_maven.c