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>
struct max14577 *max14577;
struct power_supply charger;
- unsigned int charging_state;
- unsigned int battery_state;
-
struct max14577_charger_platform_data *pdata;
};
}
state_set:
- chg->charging_state = state;
return state;
}
}
state_set:
- chg->battery_state = state;
return state;
}