arm: tegra: soctherm: round down trip temps to sensor precision
authorDiwakar Tundlam <dtundlam@nvidia.com>
Thu, 31 Jan 2013 08:12:57 +0000 (00:12 -0800)
committerRiham Haidar <rhaidar@nvidia.com>
Sat, 2 Feb 2013 02:37:13 +0000 (18:37 -0800)
commit46f3be4f9154c2efda5026ee969f5dfbee369d53
treea5457311b05629711814c2197d95b594755a692d
parentd157d234ea5f5fc993c8002d40aee761118d937b
arm: tegra: soctherm: round down trip temps to sensor precision

Emit a warning whenever forced rounding down is done during init and
when setting trip_temp via sysfs.

Bug 1200077

Change-Id: I4ded4df19adb4192d51ab3ea6872ae0c052589af
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/195898
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
GVS: Gerrit_Virtual_Submit
arch/arm/mach-tegra/tegra11_soctherm.c