diff options
author | Hans de Goede <hdegoede@redhat.com> | 2022-01-06 12:06:03 +0100 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2022-02-01 14:29:34 +0100 |
commit | 0b80eb6c3832447a28634dc2611cd2a8f53aa189 (patch) | |
tree | eb38a19f8d5633095e7e5af88a2ab19d932e40d7 /mm/secretmem.c | |
parent | b2657167447a059990827809e5ef3e6a56c700d8 (diff) |
power: supply: axp288_fuel_gauge: Add axp288_fuel_gauge_read_initial_regs()
Refactor probe a bit, introducing a new
axp288_fuel_gauge_read_initial_regs() helper. This replaces a whole
bunch of gotos and removes the unblock_punit_i2c_access label.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'mm/secretmem.c')
0 files changed, 0 insertions, 0 deletions