ARM: tegra: restructuring battery EDP init code
authorSivaram Nair <sivaramn@nvidia.com>
Fri, 23 Nov 2012 08:26:40 +0000 (10:26 +0200)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 19:43:58 +0000 (12:43 -0700)
commitdfb0e416f450bf3ee273494415ddaeed76e0d3d3
treef792e0e6cce369dba295df90e0a2d6f2018e3ce6
parent6d051b34ebfa1fb0957aad43315a69f0625393e7
ARM: tegra: restructuring battery EDP init code

The EDP manager init and registration code is slightly restructured in
oder to decouple the config flags CONFIG_EDP_FRAMEWORK and
CONFIG_TEGRA_EDP_LIMITS which are otherwise independent.

Change-Id: I48f0fb198fbf2ac2118e95293a6ac7ecd1abdcab
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/166903
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
arch/arm/mach-tegra/board-dalmore.c
arch/arm/mach-tegra/board-pluto.c
arch/arm/mach-tegra/board-roth.c
arch/arm/mach-tegra/edp.c
arch/arm/mach-tegra/include/mach/edp.h