This series adds two common properties to test_power driver. Most power supply drivers has these two properties, so add them to test framework.
Changes in v2: - Seperate CHARGE_COUNTER and CURRENT into 2 patches. - Correct CHARGE_COUNTER whicch can be negative. lecopzer (2): test_power: Add CHARGE_COUNTER properties test_power: Add CURRENT properties drivers/power/supply/test_power.c | 61 +++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) -- 2.17.1