diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-01-01 18:53:45 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-01-04 16:14:27 -0500 |
commit | a84bc8cfb2f2e2bb59f2ebdf531464c547f5026f (patch) | |
tree | 821d8acaaefc360dd36056d1d520def5b6e34681 /drivers/acpi | |
parent | 08dc7c7e407fed00a89bd6f4fc13c7ea20320de1 (diff) |
ACPI / SBS: fix inconsistent indenting inside if statement
The indenting in acpi_battery_set_alarm is inconsistent and has been
so since 2007; commit 94f6c0860139da9219255b8ff45ad42117dda859
("ACPI: SBS: Add support for power_supply class (and sysfs)"). Minor
fix for this, no code functionality change.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/sbs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/sbs.c b/drivers/acpi/sbs.c index cb3dedb1beae..ad0b13ad4bbb 100644 --- a/drivers/acpi/sbs.c +++ b/drivers/acpi/sbs.c | |||
@@ -417,11 +417,11 @@ static int acpi_battery_set_alarm(struct acpi_battery *battery) | |||
417 | if ((value & 0xf000) != sel) { | 417 | if ((value & 0xf000) != sel) { |
418 | value &= 0x0fff; | 418 | value &= 0x0fff; |
419 | value |= sel; | 419 | value |= sel; |
420 | ret = acpi_smbus_write(sbs->hc, SMBUS_WRITE_WORD, | 420 | ret = acpi_smbus_write(sbs->hc, SMBUS_WRITE_WORD, |
421 | ACPI_SBS_MANAGER, | 421 | ACPI_SBS_MANAGER, |
422 | 0x01, (u8 *)&value, 2); | 422 | 0x01, (u8 *)&value, 2); |
423 | if (ret) | 423 | if (ret) |
424 | goto end; | 424 | goto end; |
425 | } | 425 | } |
426 | } | 426 | } |
427 | ret = acpi_smbus_write(sbs->hc, SMBUS_WRITE_WORD, ACPI_SBS_BATTERY, | 427 | ret = acpi_smbus_write(sbs->hc, SMBUS_WRITE_WORD, ACPI_SBS_BATTERY, |