usb: chipidea: udc: Use dma_pool_zalloc()
authorFabio Estevam <fabio.estevam@nxp.com>
Thu, 8 Sep 2016 12:34:30 +0000 (09:34 -0300)
committerPeter Chen <peter.chen@nxp.com>
Wed, 14 Sep 2016 02:58:13 +0000 (10:58 +0800)
commit382c1b38d8e70b2fe239c96bb9137c10f3229ba3
tree28ba3fcbcfa2fc8e34e78cecf66080a568b1f4d0
parentc744a0db756b34c7e2b60100bcfc58beb6b68c99
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: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/chipidea/udc.c