]> err.no Git - linux-2.6/commit
[PATCH] i2c: Use ARRAY_SIZE macro
authorTobias Klauser <tklauser@nuerscht.ch>
Mon, 9 Jan 2006 22:19:51 +0000 (23:19 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 6 Feb 2006 20:02:15 +0000 (12:02 -0800)
commit7e3d7db52469f6bcfbfd2d3d00dd17da573facd9
treec6090fda544c24ddf169177ee4596121b8bd10a6
parent8104a9a9c9ad8c849d931c46ef6841b23d1fc729
[PATCH] i2c: Use ARRAY_SIZE macro

Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]). Some trailing
whitespaces are also removed.

Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/busses/i2c-parport-light.c
drivers/i2c/busses/i2c-parport.c
drivers/i2c/busses/i2c-pxa.c