aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorBjørn Mork <[email protected]>2017-12-05 17:46:39 +0000
committerRafael J. Wysocki <[email protected]>2017-12-13 00:14:54 +0000
commit6993ce46c910ec83b4a7f064bbf76f254217019c (patch)
tree43c5ab5213939d241ef95a478d03e9731a3ced13 /drivers/acpi/cppc_acpi.c
parentLinux 4.15-rc3 (diff)
downloadkernel-6993ce46c910ec83b4a7f064bbf76f254217019c.tar.gz
kernel-6993ce46c910ec83b4a7f064bbf76f254217019c.zip
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 <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions