]> git.baikalelectronics.ru Git - kernel.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)
commitb360adf5b18e1e15c6298ecb277a3dfcedbd9f6a
tree1be6485d2bc67b4a9b9088022fe32d73d5d8335e
parenta788ec96074a43e5e691e75748b1ff5934abef0a
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