tegra: otg: Don't use global functions in board files
authorDan Willemsen <dwillemsen@nvidia.com>
Wed, 5 Jan 2011 02:10:33 +0000 (18:10 -0800)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:43:25 +0000 (21:43 -0800)
commit918a75585d3db690f078cc705664fb698a0a0f7b
tree99f5249ae5fc364dcdf946ca818d7cb4d4176004
parentc9d4246d778b8fdb5d4fa08fb76f7646daa4b633
tegra: otg: Don't use global functions in board files

Releasing the platform_data in unregister.

Original-Change-Id: Iba1c6e7ad42b0886f8ce9dadf9664bcc266398d4
Reviewed-on: http://git-master/r/14963
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R0e004bd1328eac471c56390b4f79d6ec8c04d877
drivers/usb/otg/tegra-otg.c
include/linux/platform_data/tegra_usb.h