hwmon: tegra: tsensor: newer revision support
authorBitan Biswas <bbiswas@nvidia.com>
Thu, 18 Aug 2011 05:39:17 +0000 (10:39 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:48:23 +0000 (21:48 -0800)
commitb7241ece3370fda73c1417de842636fdf3ac07e7
tree532db1ef7bee0b821c0c584bab6bcd774c805e9c
parent87d156da92319f4112ddf99de8d3d8c80dd4c0d3
hwmon: tegra: tsensor: newer revision support

Tsensor driver had support for chip revisions 1 and 2 only.
Updated the driver to support later chip revisions.
- Additionally error handling code corrected

bug 864922

Original-Change-Id: I58230b7aa6c343930739f27bcc26e129092a9b4d
Reviewed-on: http://git-master/r/47728
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>

Rebase-Id: Rc4cd2ebc90e7e6cbfd48bdcade89c02626a2629c
drivers/hwmon/tegra-tsensor.c