commit | 402673e9a0bc34b5f6bd31a87d176317145232b0 | [log] [tgz] |
---|---|---|
author | Siddartha Mohanadoss <smohanad@codeaurora.org> | Fri Jan 06 16:31:44 2012 -0800 |
committer | Siddartha Mohanadoss <smohanad@codeaurora.org> | Thu Jan 26 17:26:45 2012 -0800 |
tree | a2b8b27543a07a69ef25f81bc1c8c24e8fd3bfd5 | |
parent | ad4b25a942d24987a4a673b84ac58c85e82b646d [diff] |
hwmon: pm8xxx-adc: Fix reading sysfs for vbatt The memory where the sysfs attribute is stored on initialization gets overwritten causing invalid length on the vbatt sysfs reading. Fix it by removing the dynamic memory allocation for BTM parameters. Change-Id: If8b88c9460b0018a159688b5ba28798d97e0b0b6 Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>