]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
matroxfb: i2c structure templates clean-up
authorJean Delvare <khali@linux-fr.org>
Tue, 12 Aug 2008 22:08:54 +0000 (15:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 12 Aug 2008 23:07:29 +0000 (16:07 -0700)
commit73b7d92f6106e2f55206b8672e5ccf6206689899
tree1be6485d2bc67b4a9b9088022fe32d73d5d8335e
parent5ede40f87957c6ededf9284c8339722a97b9dfb6
matroxfb: i2c structure templates clean-up

Clean up the use of structure templates in i2c-matroxfb. In this case
it's more efficient to initialize the few fields we need individually.
This makes i2c-matroxfb.ko 16% smaller on my system.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: Petr Vandrovec <VANDROVE@vc.cvut.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/matrox/i2c-matroxfb.c