]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (8047): bt8xx: i2c structure templates clean-up
authorJean Delvare <khali@linux-fr.org>
Sun, 15 Jun 2008 15:20:18 +0000 (12:20 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:09:41 +0000 (07:09 -0300)
commitdf9b5d4cf636f992276b6b595620d9b2a63095db
tree9f9fcab4d67bae17609b01aece7df193cfe2a778
parent6275163e3ddbf0f0b34981bf6dc50b803e5a1c67
V4L/DVB (8047): bt8xx: i2c structure templates clean-up

Clean up the use of structure templates in bttv-i2c. For one thing, a
real template is supposed to be read-only. And in some cases it's more
efficient to initialize the few fields we need individually.

This clean-up shrinks bttv-i2c.o by 29% (x86_64).

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/bt8xx/bttv-i2c.c