arm: tegra: comms: Cleanup code for RAW-IP network driver.
authorMichael Hsu <mhsu@nvidia.com>
Tue, 29 Nov 2011 21:37:14 +0000 (13:37 -0800)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Thu, 19 Jan 2012 18:21:15 +0000 (10:21 -0800)
commit2b0de0c3a87ba60e9c5197d03113389d67f55d75
tree041248545b63c1483ca31b61252e5a0fdf9e1830
parentefb66b6ecb38e1f0dea9c477d484f85270c3f05c
arm: tegra: comms: Cleanup code for RAW-IP network driver.

In case of failure to load RAW-IP network driver, cleanup
resources (memory, usb driver registration).

Reviewed-on: http://git-master/r/67183
(cherry picked from commit 0fbfd527eccdf9a690db1a77d1ec4699bbdf44a8)

Change-Id: I1cdfe941a71a6d43601c77196d7a61757680ed80
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-on: http://git-master/r/74864
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Steve Lin <stlin@nvidia.com>
Reviewed-on: http://git-master/r/75540
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
drivers/net/usb/raw_ip_net.c