aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2007-11-18 00:32:31 +0300
committerLen Brown <[email protected]>2007-11-18 17:24:01 -0500
commit037cbc63fd83162a8ee0c69680207ce4609adbea (patch)
tree8a059dc10281006bfd18abb2cc6aa78eed6e53d6 /include/linux
parent4c41d3ad6544f1c9aec37c441af04f5d0ad3a731 (diff)
ACPI: SBS: Fix retval warning
drivers/acpi/sbs.c: In function acpi_battery_add: drivers/acpi/sbs.c:811: warning: ignoring return value of device_create_file, declared with attribute warn_unused_result Additional cleanups: * use struct acpi_battery in acpi_battery_remove() to clean up function calls, just like acpi_battery_add() already does. * put braces around unregister call, as it depends on dev being not NULL. * remove unneeded braces Signed-off-by: Jeff Garzik <[email protected]> Signed-off-by: Alexey Starikovskiy <[email protected]> Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions