]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] USB: Use ARRAY_SIZE macro
authorTobias Klauser <tklauser@nuerscht.ch>
Sun, 11 Dec 2005 15:20:08 +0000 (16:20 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 4 Jan 2006 21:51:43 +0000 (13:51 -0800)
commit52950ed40dc97456209979af1d8f51b63cf6dcab
tree527fb1a339889b3df9d227b1c17f87bc487f397f
parentf3d34ed48c80903544b509031fee64838d29f35f
[PATCH] USB: Use ARRAY_SIZE macro

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

Patch is compile-tested on i386.

Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/dummy_hcd.c
drivers/usb/input/aiptek.c
drivers/usb/media/ibmcam.c
drivers/usb/media/sn9c102_core.c
drivers/usb/media/w9968cf.c
drivers/usb/net/zd1201.c
drivers/usb/serial/io_edgeport.c
drivers/usb/serial/io_edgeport.h
drivers/usb/serial/safe_serial.c
drivers/usb/serial/ti_usb_3410_5052.c
drivers/usb/storage/sddr09.c