]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: spear-ehci/ohci: Use devm_*() routines
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 8 Nov 2012 15:07:59 +0000 (20:37 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Nov 2012 20:15:20 +0000 (12:15 -0800)
commit98515e5923b1c8f982511eeec9d27014b05efebf
tree8d060a8abbb31702660861d0665bf9627ff16316
parentd8fd7d5ae3e0561920b38647793b1947e07c7acf
usb: spear-ehci/ohci: Use devm_*() routines

This patch frees SPEAr ehci/ohci drivers from tension of freeing resources :)
devm_* derivatives of multiple routines are used while allocating resources,
which would be freed automatically by kernel.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-spear.c
drivers/usb/host/ohci-spear.c