]> git.baikalelectronics.ru Git - kernel.git/commit
i2c-parport: Optimize binary size
authorJean Delvare <khali@linux-fr.org>
Tue, 1 May 2007 21:26:29 +0000 (23:26 +0200)
committerJean Delvare <khali@hyperion.delvare>
Tue, 1 May 2007 21:26:29 +0000 (23:26 +0200)
commit69e1d02bcaa5f5d416a98c52bd098b766de9e584
tree4945c308b0ba8114d396794e57bf3bcb08ff6a83
parent60bdc84cf9ceb78371876f572aee5758a7fe771f
i2c-parport: Optimize binary size

Initialize the fields of the i2c_adapter structure individually,
rather than copying a whole static template structure. This shaves
off 474 bytes or 14% (on i386) from the binary size.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-parport.c