]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
power: bq2419x: remove duplication of code for safty timer handling
authorLaxman Dewangan <ldewangan@nvidia.com>
Mon, 14 Apr 2014 10:00:36 +0000 (15:30 +0530)
committerMandar Padmawar <mpadmawar@nvidia.com>
Wed, 7 May 2014 08:15:57 +0000 (01:15 -0700)
commit7181ddb1abd732a3f2c2e1e2000d1e2fc79c51e4
tree81ffade2ce92abcb0223be78ad050420cf028629
parent8033a8b67e3828244f918e070580d63005f1f4d2
power: bq2419x: remove duplication of code for safty timer handling

There is duplication of codes for handling the safety timer expire.
Move this code to function and use this function from different
location.

Change-Id: I8a11055bf0dfbe5b40b487a403e806b6d221c354
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/395809
Reviewed-on: http://git-master/r/405637
GVS: Gerrit_Virtual_Submit
drivers/power/bq2419x-charger.c