arm: tegra: power: fix coverity issue
authorSri Krishna chowdary <schowdary@nvidia.com>
Sat, 6 Oct 2012 09:58:27 +0000 (14:58 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 19:36:52 +0000 (12:36 -0700)
commit0277076206e0e97f89ae0706744839f20efacfaf
treedf596d1b5f14b49724a5515b9fd5c963ec1fe090
parent338090cc6b1ba0c780cf400a72f5ad3a29e256e4
arm: tegra: power: fix coverity issue

Fix Unsigned can't be less than zero issue.
tegra_dvfs_predict_millivolts returns int, so
voltage_mV can't be unsigned int.

Bug 1046331

Change-Id: I7973c3a434beef1cc54c4d61024b0b381c4fc66f
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/142152
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

Rebase-Id: R9cb9294b7d575aa5aa45207720d0fb42dd2fda68
arch/arm/mach-tegra/edp.c