power_supply: max14577: Don't store charging and battery states for later
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 24 Feb 2015 09:54:44 +0000 (10:54 +0100)
committerSebastian Reichel <sre@kernel.org>
Wed, 25 Feb 2015 20:45:46 +0000 (21:45 +0100)
commit7524741f839e10451b072d2c9fdf525e587ecd46
tree0f0cd540c0414d8fdb1aba471c1301e41bc82386
parent1ed522b390f423f9cb21ad3414fbe281a32e3ec5
power_supply: max14577: Don't store charging and battery states for later

Remove caching of charging and battery states in driver's state
container because the cached value was not used later.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/max14577_charger.c