summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorRakesh Bodla <rbodla@nvidia.com>2012-08-02 11:53:39 +0530
committerSimone Willett <swillett@nvidia.com>2012-08-02 18:13:18 -0700
commit2b15ed406736848ccf8798808e4e08e0cca25aac (patch)
tree07c56a765f7a0bfb0485de58845ebdc4e6546983 /drivers/usb
parent7f72709c2f23c05f65ff4ca8bfecde0db1448a65 (diff)
arm: tegra: usb_phy: use devm_kfree to free memory
devm_kfree() should be used to free memory allocated by devm_kzalloc() Memory allocated with devm_kzalloc is automatically freed on driver detach. Kernel crash will be observed if it is freed with kfree(). Bug 1027472 Change-Id: I27ae63c26647f055de60c2837edfd5fd44a9dabc Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/120245 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venkat Moganty <vmoganty@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions