Skip to content
Commit 382c1b38 authored by Fabio Estevam's avatar Fabio Estevam Committed by Peter Chen
Browse files

usb: chipidea: udc: Use dma_pool_zalloc()



We can make the code simpler by using dma_pool_zalloc() instead
of calling dma_pool_alloc() and then a memset().

Signed-off-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarPeter Chen <peter.chen@nxp.com>
parent c744a0db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment