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)
commitcacf2269b6cde2ff2c29a13dff5ce6886ff1dc73
tree4945c308b0ba8114d396794e57bf3bcb08ff6a83
parent3c4bb241d34ee3d9ab87aad265734885385f179b
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