diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2016-09-08 09:34:30 -0300 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2016-09-14 10:58:13 +0800 |
commit | 382c1b38d8e70b2fe239c96bb9137c10f3229ba3 (patch) | |
tree | 28ba3fcbcfa2fc8e34e78cecf66080a568b1f4d0 /fs | |
parent | c744a0db756b34c7e2b60100bcfc58beb6b68c99 (diff) | |
download | linux-382c1b38d8e70b2fe239c96bb9137c10f3229ba3.tar.gz linux-382c1b38d8e70b2fe239c96bb9137c10f3229ba3.tar.bz2 linux-382c1b38d8e70b2fe239c96bb9137c10f3229ba3.zip |
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions