]> err.no Git - linux-2.6/commit
[PATCH] drivers/char: Use ARRAY_SIZE macro
authorTobias Klauser <tklauser@nuerscht.ch>
Tue, 10 Jan 2006 04:54:02 +0000 (20:54 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Jan 2006 16:01:56 +0000 (08:01 -0800)
commitfe971071a89c5c5184fc9f3482c7a8e997cf0520
tree74a29e80d5636255f33c750482497a32d8d3491f
parent3c6bee1d4037a5c569f30d40bd852a57ba250912
[PATCH] drivers/char: Use ARRAY_SIZE macro

Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove
duplicates of ARRAY_SIZE.

Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
17 files changed:
drivers/char/amiserial.c
drivers/char/cyclades.c
drivers/char/hvsi.c
drivers/char/istallion.c
drivers/char/moxa.c
drivers/char/mxser.c
drivers/char/nvram.c
drivers/char/pcmcia/synclink_cs.c
drivers/char/rio/rio_linux.c
drivers/char/riscom8.c
drivers/char/serial167.c
drivers/char/stallion.c
drivers/char/sx.c
drivers/char/synclink.c
drivers/char/synclinkmp.c
drivers/char/vme_scc.c
drivers/char/vr41xx_rtc.c