]> 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)
committerMrutyunjay Sawant <msawant@nvidia.com>
Tue, 15 Apr 2014 09:00:42 +0000 (02:00 -0700)
commit456caf92439885f96bc4d2c7488eec7f43a31dcf
tree926ac3a9103749a4ee2275125d3406af8ec00463
parentce9499b6107d4ad0474b869bafc87140c78bde65
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
drivers/power/bq2419x-charger.c