USB: atmel_usb_udc: Use kzalloc() to allocate ep structures
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Tue, 5 May 2009 00:22:43 +0000 (17:22 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 May 2009 20:54:41 +0000 (13:54 -0700)
commitfe92c9e481a147a9e1e14f55870f32903b967777
tree1d85176e24445aaabf61ef63bf47ef7905ea2fa8
parentf42706c90470851fd2e97eda7a4109e8949bde8a
USB: atmel_usb_udc: Use kzalloc() to allocate ep structures

This ensures that all fields are properly initialized.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/atmel_usba_udc.c