diff options
author | 2012-07-27 14:01:37 +0900 | |
---|---|---|
committer | 2012-08-22 20:09:08 -0700 | |
commit | fd65ee5f1c21af9ff9f113842d513ca50749ad68 (patch) | |
tree | 70a530582f4ccc7c477c2d3463794d480087c502 /lib/spinlock_debug.c | |
parent | charger-manager: Disable regulator when charger cable is detached (diff) | |
download | linux-dev-fd65ee5f1c21af9ff9f113842d513ca50749ad68.tar.xz linux-dev-fd65ee5f1c21af9ff9f113842d513ca50749ad68.zip |
charger-manager: Use replacement variable to check state of battery
This patch remove unnecessary variable(cm->fullbatt_vchk_uV) by using
'desc->fullbatt_uV' field directly in fullbatt_handler() function
to check the state of battery.
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions