From bb4dfdc63e617afe49eb727f70e6638d7e8759c2 Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Sun, 5 Aug 2012 13:27:08 +0530 Subject: mfd: tps80031: gpadc: register as mfd sub device Register General Purpose ADC driver of TPS80031 as mfd sub driver in place of adding it as a sub devices. This is inline with the mfd driver policy. Change-Id: Ib3f86f05716baef96ee534eec5ae262627c6a853 Signed-off-by: Laxman Dewangan Reviewed-on: http://git-master/r/121136 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bitan Biswas --- arch/arm/mach-tegra/board-enterprise-power.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'arch/arm/mach-tegra/board-enterprise-power.c') diff --git a/arch/arm/mach-tegra/board-enterprise-power.c b/arch/arm/mach-tegra/board-enterprise-power.c index 86f0bcd05253..cfcfe9e61ec5 100644 --- a/arch/arm/mach-tegra/board-enterprise-power.c +++ b/arch/arm/mach-tegra/board-enterprise-power.c @@ -333,19 +333,6 @@ static struct tps80031_bg_platform_data battery_gauge_data = { .battery_present = 1, }; -#define TPS_GPADC() \ - { \ - .name = "tps80031-gpadc", \ - } - -#define TPS80031_DEVS_COMMON \ - TPS_GPADC() - - -static struct tps80031_subdev_info tps80031_devs[] = { - TPS_GPADC() -}; - #define TPS_REG_PDATA(_id, _sname) &pdata_##_id##_##_sname static struct tps80031_regulator_platform_data *tps80031_reg_pdata_a02[] = { TPS_REG_PDATA(vio, a02), -- cgit v1.2.3