diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2016-09-08 14:34:31 +0200 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2016-09-14 04:58:13 +0200 |
commit | 58001effe172f300d558dffbd723c8521b9404f2 (patch) | |
tree | a42ff0415f32612d2258642fd3ade9e3cb812c62 /drivers/usb | |
parent | usb: chipidea: udc: Use dma_pool_zalloc() (diff) | |
download | linux-58001effe172f300d558dffbd723c8521b9404f2.tar.xz linux-58001effe172f300d558dffbd723c8521b9404f2.zip |
usb: chipidea: udc: Fit into a single line
No need to split the dma_pool_zalloc() line into two as it can
perfectly fit into a single line.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/chipidea/udc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c index a0b208dfb959..22534a1622d9 100644 --- a/drivers/usb/chipidea/udc.c +++ b/drivers/usb/chipidea/udc.c @@ -350,8 +350,7 @@ static int add_td_to_list(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq, if (node == NULL) return -ENOMEM; - node->ptr = dma_pool_zalloc(hwep->td_pool, GFP_ATOMIC, - &node->dma); + node->ptr = dma_pool_zalloc(hwep->td_pool, GFP_ATOMIC, &node->dma); if (node->ptr == NULL) { kfree(node); return -ENOMEM; |