usb: host: tegra: code clean up
authorVenu Byravarasu <vbyravarasu@nvidia.com>
Fri, 1 Jun 2012 05:45:42 +0000 (10:45 +0530)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Thu, 5 Jul 2012 14:44:23 +0000 (07:44 -0700)
commit6beca4d4049eeceda8498d6b0d9c36a9a39ae3e6
tree20743e955e1975d388738278ad9c05128ee87971
parent4df8c74291952f18d43fb608290db0ce7cc27d42
usb: host: tegra: code clean up

Addressed below items with this patch:
1. Using devm_kzalloc in place of kzalloc.
2. Correcting platform_get_irq return value check

Change-Id: I68225fe40adbb4be98e16ee2e0a4fccefadd8626
Reviewed-on: http://git-master/r/105843
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
drivers/usb/host/ehci-tegra.c