summaryrefslogtreecommitdiff
path: root/arch/um
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-09-22 18:54:29 +0530
committerFelipe Balbi <balbi@ti.com>2015-10-01 12:40:20 -0500
commitf349dd3c76039a2b0bf03a11484dd2850868b7e3 (patch)
tree625300c218ab09b0802fe7e847819b3b935781b7 /arch/um
parent2e1b7d0c691c63c66d5bf5c097243f3b037adf32 (diff)
usb: gadget: amd5536udc: use free_dma_pools
We have the function free_dma_pools() which frees all the dma pools. Use it instead of calling all the functions separately. The if conditions for data_requests and stp_requests are also not required here as this is the remove function and we are here means probe has succeeded and dma has been successfully allocated, so they cannot be NULL here. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'arch/um')
0 files changed, 0 insertions, 0 deletions