tegra: otg: Don't use global functions in board files
Dan Willemsen [Wed, 5 Jan 2011 02:10:33 +0000 (18:10 -0800)]
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: R9e64082fe3f9aa4dc94b9f9eb629a71023945dfe

arch/arm/mach-tegra/board-whistler.c

index 41881ad..8e645e7 100644 (file)
@@ -178,7 +178,6 @@ static struct platform_device whistler_scroll_device = {
 };
 
 static struct platform_device *whistler_devices[] __initdata = {
-       &tegra_otg_device,
        &debug_uart,
        &tegra_uartc_device,
        &pmu_device,