From: Himangi Saraogi Date: Sun, 22 Jun 2014 07:17:51 +0000 (+0530) Subject: usb: gadget: pxa25x_udc: use devm_ functions X-Git-Tag: cleanup-for-v3.18~123^2~18^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c63d2225e7be975357164871e996805003e5e735;p=pandora-kernel.git usb: gadget: pxa25x_udc: use devm_ functions This patch introduces the use of devm_request_irq, devm_gpio_request, devm_clk_get etc. instead of the corresponding unmanaged interfaces. The calls to the functions like free_irq to free the allocated resources are removed as they are no longer required. Some labels in the probe function are also done away with and the name of the label err_gpio_pullup is changed to make it less specific to the context. Signed-off-by: Himangi Saraogi Acked-by: Julia Lawall Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed