git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
drivers
/
acpi
/
ac.c
diff --git
a/drivers/acpi/ac.c
b/drivers/acpi/ac.c
index
e0f498c
..
7333d5f
100644
(file)
--- a/
drivers/acpi/ac.c
+++ b/
drivers/acpi/ac.c
@@
-117,11
+117,11
@@
int acpi_ac_seq_show(struct seq_file *seq, void *offset)
ACPI_FUNCTION_TRACE("acpi_ac_seq_show");
if (!ac)
ACPI_FUNCTION_TRACE("acpi_ac_seq_show");
if (!ac)
- return
_VALUE(0)
;
+ return
0
;
if (acpi_ac_get_state(ac)) {
seq_puts(seq, "ERROR: Unable to read AC Adapter state\n");
if (acpi_ac_get_state(ac)) {
seq_puts(seq, "ERROR: Unable to read AC Adapter state\n");
- return
_VALUE(0)
;
+ return
0
;
}
seq_puts(seq, "state: ");
}
seq_puts(seq, "state: ");
@@
-137,7
+137,7
@@
int acpi_ac_seq_show(struct seq_file *seq, void *offset)
break;
}
break;
}
- return
_VALUE(0)
;
+ return
0
;
}
static int acpi_ac_open_fs(struct inode *inode, struct file *file)
}
static int acpi_ac_open_fs(struct inode *inode, struct file *file)
@@
-212,7
+212,7
@@
acpi_ac_notify (
ACPI_FUNCTION_TRACE("acpi_ac_notify");
if (!ac)
ACPI_FUNCTION_TRACE("acpi_ac_notify");
if (!ac)
- return
_VOID
;
+ return;
if (acpi_bus_get_device(ac->handle, &device))
return_VOID;
if (acpi_bus_get_device(ac->handle, &device))
return_VOID;