ARM: tegra: dvfs: Don't duplicate cpu rail trip-points
authorAlex Frid <afrid@nvidia.com>
Sat, 23 Mar 2013 01:30:24 +0000 (18:30 -0700)
committerRiham Haidar <rhaidar@nvidia.com>
Tue, 26 Mar 2013 05:53:57 +0000 (22:53 -0700)
commita42343d3a9ce6990421d6d7862f979916a76aa2f
tree1af9972a5af87abd01ef0daf9a70f51e28bb141b
parente7a9220f5883bf3816e24895a34239a34a7d9ece
ARM: tegra: dvfs: Don't duplicate cpu rail trip-points

Enforced common set of cpu rail trip-points in dfll and pll modes by
pointing to the same cooling device structure (instead of allocating
two identical structures).

Skipped registration of cpu rail dfll mode trip-points, when they are
the same as in pll mode

Bug 1248374

Change-Id: I94df1ca80ac5aeb672c15ff185f7c2c30f1c66ba
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/212322
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
arch/arm/mach-tegra/dvfs.c
arch/arm/mach-tegra/tegra11_dvfs.c