driver/charger/sm5803.h: Format with clang-format
BRANCH=none
TEST=none
@@ -150,8 +150,6 @@ enum sm5803_gpio0_modes {
#define SM5803_VBUS_LOW_LEVEL 0x25
#define SM5803_VBUS_HIGH_LEVEL 0x2C
-
-
/*
* TINT thresholds. TINT steps are in 0.43 K with the upper threshold set to
* 360 K and lower threshold to de-assert PROCHOT at 330 K.
@@ -296,10 +294,10 @@ enum sm5803_charger_modes {
#define SM5803_REG_VSYS_PREREG_LSB 0x37
#define SM5803_VOLTAGE_STEP 10
#define SM5803_VOLTAGE_SHIFT 2720
-#define SM5803_REG_TO_VOLTAGE(r) (SM5803_VOLTAGE_SHIFT + \
- (r) * SM5803_VOLTAGE_STEP)
-#define SM5803_VOLTAGE_TO_REG(v) (((v) - SM5803_VOLTAGE_SHIFT) \
- / SM5803_VOLTAGE_STEP)
+#define SM5803_REG_TO_VOLTAGE(r) \
+ (SM5803_VOLTAGE_SHIFT + (r)*SM5803_VOLTAGE_STEP)
+#define SM5803_VOLTAGE_TO_REG(v) \
+ (((v)-SM5803_VOLTAGE_SHIFT) / SM5803_VOLTAGE_STEP)
/*
* Precharge Termination threshold.
