Skip to contentSkip to conversation

power: supply: Fix errors

PATCH New [email protected] 1 participant 1 message Jul 12, 2023 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 power: supply: Fix errors

Fix the below checkpatch errors:

drivers/power/supply/ab8500_bmdata.c:186: ERROR: that open brace { should be on the previous line drivers/power/supply/ab8500_bmdata.c:192: ERROR: that open brace { should be on the previous line

---
 drivers/power/supply/ab8500_bmdata.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/power/supply/ab8500_bmdata.c +2 -4
index 3e6ea22..a092727 100644
@@ -184,14 +184,12 @@ int ab8500_bm_of_probe(struct power_supply *psy,
     }
 
     if (bi->alert_low_temp_charge_current_ua < 0 ||
-        bi->alert_low_temp_charge_voltage_uv < 0)
-    {
+        bi->alert_low_temp_charge_voltage_uv < 0){
         bi->alert_low_temp_charge_current_ua = 300000;
         bi->alert_low_temp_charge_voltage_uv = 4000000;
     }
     if (bi->alert_high_temp_charge_current_ua < 0 ||
-        bi->alert_high_temp_charge_voltage_uv < 0)
-    {
+        bi->alert_high_temp_charge_voltage_uv < 0){
         bi->alert_high_temp_charge_current_ua = 300000;
         bi->alert_high_temp_charge_voltage_uv = 4000000;
     }