ctp_charger: fix the temperature look up logic.
authorPankaj Mistry <pankaj.mistry@intel.com>
Thu, 17 May 2012 09:42:47 +0000 (15:12 +0530)
committerbuildbot <buildbot@intel.com>
Tue, 22 May 2012 09:17:04 +0000 (02:17 -0700)
commit16107aeaeda23036eca61e233d10e505b977fd83
tree378f818d91991644b262ce69301a9eed5344fab2
parente6b7cf1b1362e5aa0e0f25f63333751612a653d5
ctp_charger: fix the temperature look up logic.

BZ: 36483

This patch fixes the temperature look up logic in
ctp_sfi_temp_range_lookup. This patch also cleans up the SFI
table population in ctp_sfi_table_populate.

Change-Id: I43ebae25f47525fc455be1eaa251033318c1be0a
Signed-off-by: Pankaj Mistry <pankaj.mistry@intel.com>
Reviewed-on: http://android.intel.com:8080/49212
Reviewed-by: Pallala, Ramakrishna <ramakrishna.pallala@intel.com>
Reviewed-by: Tank, Jayesh KumarX <jayesh.kumarx.tank@intel.com>
Reviewed-by: Pandey, Raj <raj.pandey@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/power/bq24192_charger.c