commit | 6993ce46c910ec83b4a7f064bbf76f254217019c | [log] [tgz] |
---|---|---|
author | Bjørn Mork <bjorn@mork.no> | Tue Dec 05 18:46:39 2017 +0100 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Wed Dec 13 01:14:54 2017 +0100 |
tree | 43c5ab5213939d241ef95a478d03e9731a3ced13 | |
parent | 50c4c4e268a2d7a3e58ebb698ac74da0de40ae36 [diff] |
ACPI: battery: Drop redundant test for failure Merging the two adjacent conditionally built blocks makes the code a lot more readable. And as a bonus, we drop a duplicate test when CONFIG_ACPI_PROCFS_POWER is undefined. Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>