diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2014-03-26 15:55:54 +0530 |
---|---|---|
committer | Laxman Dewangan <ldewangan@nvidia.com> | 2014-03-26 09:46:43 -0700 |
commit | 1ac49c0e78dc55ccae3d78c22f07dd99c405ebd1 (patch) | |
tree | d3517fb60648f9b71b7b682bc85b802ba634f3ea /arch/arm/mach-tegra/board-tn8-power.c | |
parent | 4ef0179cbbde22367b4c028d6b722c4bde52c6ec (diff) |
ARM: tegra: move power_supply_extcon to DT for Ardbeg/TN8.
Move power_supply_extcon driver which is used for AC/USB notification
to Android to DT and remove related code from board files.
Change-Id: I9e97ac155c87324e59b7a0af8299688386fd4ef1
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/387064
Diffstat (limited to 'arch/arm/mach-tegra/board-tn8-power.c')
-rw-r--r-- | arch/arm/mach-tegra/board-tn8-power.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/mach-tegra/board-tn8-power.c b/arch/arm/mach-tegra/board-tn8-power.c index dec31f415cb5..d3dc650025af 100644 --- a/arch/arm/mach-tegra/board-tn8-power.c +++ b/arch/arm/mach-tegra/board-tn8-power.c @@ -30,7 +30,6 @@ #include <linux/gpio.h> #include <linux/power/bq2419x-charger.h> -#include <linux/power/power_supply_extcon.h> #include <linux/max17048_battery.h> #include <linux/tegra-soc.h> #include <linux/generic_adc_thermal.h> @@ -195,18 +194,6 @@ static struct platform_device gadc_thermal_battery = { }, }; -static struct power_supply_extcon_plat_data extcon_pdata = { - .extcon_name = "tegra-udc", -}; - -static struct platform_device power_supply_extcon_device = { - .name = "power-supply-extcon", - .id = -1, - .dev = { - .platform_data = &extcon_pdata, - }, -}; - int __init tn8_regulator_init(void) { void __iomem *pmc = IO_ADDRESS(TEGRA_PMC_BASE); @@ -229,7 +216,6 @@ int __init tn8_regulator_init(void) platform_device_register(&gadc_thermal_battery); } - platform_device_register(&power_supply_extcon_device); return 0; } |