summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2016-09-08 14:34:31 +0200
committerPeter Chen <peter.chen@nxp.com>2016-09-14 04:58:13 +0200
commit58001effe172f300d558dffbd723c8521b9404f2 (patch)
treea42ff0415f32612d2258642fd3ade9e3cb812c62 /drivers/usb
parentusb: chipidea: udc: Use dma_pool_zalloc() (diff)
downloadlinux-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.c3
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;