ACPI: battery: make function __battery_hook_unregister() static
authorColin Ian King <colin.king@canonical.com>
Fri, 23 Feb 2018 16:32:55 +0000 (16:32 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 27 Feb 2018 16:09:20 +0000 (17:09 +0100)
commit514bcc5dfa69d64f7772cb6442721b9d1b83504d
tree0f0dce5d4370eecd982b1406337b8c983b12b0e5
parent91eea70e5e5ce12eb1c7cd922e561fab43e201bd
ACPI: battery: make function __battery_hook_unregister() static

The function __battery_hook_unregister is local to the source and does
not need to be in global scope, so make it static.

Cleans up sparse warning:
drivers/acpi/battery.c:654:6: warning: symbol '__battery_hook_unregister'
was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/battery.c