Skip to content

Commit a84bc8c

Browse files
Colin Ian Kingrafaeljw
authored andcommitted
ACPI / SBS: fix inconsistent indenting inside if statement
The indenting in acpi_battery_set_alarm is inconsistent and has been so since 2007; commit 94f6c08 ("ACPI: SBS: Add support for power_supply class (and sysfs)"). Minor fix for this, no code functionality change. Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 08dc7c7 commit a84bc8c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/acpi/sbs.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,11 +417,11 @@ static int acpi_battery_set_alarm(struct acpi_battery *battery)
417417
if ((value & 0xf000) != sel) {
418418
value &= 0x0fff;
419419
value |= sel;
420-
ret = acpi_smbus_write(sbs->hc, SMBUS_WRITE_WORD,
420+
ret = acpi_smbus_write(sbs->hc, SMBUS_WRITE_WORD,
421421
ACPI_SBS_MANAGER,
422422
0x01, (u8 *)&value, 2);
423-
if (ret)
424-
goto end;
423+
if (ret)
424+
goto end;
425425
}
426426
}
427427
ret = acpi_smbus_write(sbs->hc, SMBUS_WRITE_WORD, ACPI_SBS_BATTERY,

0 commit comments

Comments
 (0)