]> Git Repo - linux.git/commit
hwmon: (acpi_power_meter) Fix build warning
authorGuenter Roeck <[email protected]>
Fri, 27 Jul 2012 14:11:32 +0000 (07:11 -0700)
committerGuenter Roeck <[email protected]>
Fri, 27 Jul 2012 20:59:13 +0000 (13:59 -0700)
commit9baeb8fdd7e1e78973ad19a6d7e2bcf7dfeb2498
tree8d549abddea8cdd984542a215543fc309a47e927
parent25918f9811eae1d657db2bccdfcb077038d9454c
hwmon: (acpi_power_meter) Fix build warning

Commit c5dec0182256361a3f823316e8fb85263f76efe7 (acpi_power_meter: Use struct
dev_pm_ops for power management) introduced the following build warning. It is
seen if CONFIG_PM_SLEEP is not defined.

acpi_power_meter.c:930:12: warning: acpi_power_meter_resume defined but not used

Fix it.

Cc: Rafael J. Wysocki <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
drivers/hwmon/acpi_power_meter.c
This page took 0.05054 seconds and 4 git commands to generate.