From b967e7c92158b65268d9cfd409a997f387101d15 Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Mon, 15 May 2023 10:25:36 -0600 Subject: [PATCH] Format code Signed-off-by: Tim Crawford --- src/board/system76/common/charger/oz26786.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/board/system76/common/charger/oz26786.c b/src/board/system76/common/charger/oz26786.c index c1b9f84..b7e1136 100644 --- a/src/board/system76/common/charger/oz26786.c +++ b/src/board/system76/common/charger/oz26786.c @@ -101,7 +101,11 @@ int16_t battery_charger_disable(void) { // Set charge option 2 to PSYS enable //TODO: needed when charging disabled? - res = smbus_write(CHARGER_ADDRESS, REG_CHARGE_OPTION_2, CHARGE_OPTION_2_PSYS_EN | CHARGE_OPTION_2_PSYS_GAIN); + res = smbus_write( + CHARGER_ADDRESS, + REG_CHARGE_OPTION_2, + CHARGE_OPTION_2_PSYS_EN | CHARGE_OPTION_2_PSYS_GAIN + ); if (res < 0) return res; @@ -145,7 +149,11 @@ int16_t battery_charger_enable(void) { return res; // Set charge option 2 to PSYS enable - res = smbus_write(CHARGER_ADDRESS, REG_CHARGE_OPTION_2, CHARGE_OPTION_2_PSYS_EN | CHARGE_OPTION_2_PSYS_GAIN); + res = smbus_write( + CHARGER_ADDRESS, + REG_CHARGE_OPTION_2, + CHARGE_OPTION_2_PSYS_EN | CHARGE_OPTION_2_PSYS_GAIN + ); if (res < 0) return res;