aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/button.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@linux01.gwdg.de>2006-09-30 18:28:50 -0400
committerLen Brown <len.brown@intel.com>2006-10-14 01:51:07 -0400
commit50dd096973f1d95aa03c6a6d9e148d706b62b68e (patch)
tree1f047b9c574672c133559922af5d4aee2816b9ae /drivers/acpi/button.c
parentb4bd8c66435a8cdf8c90334fb3b517a23ff2ab95 (diff)
ACPI: Remove unnecessary from/to-void* and to-void casts in drivers/acpi
Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/button.c')
-rw-r--r--drivers/acpi/button.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c
index 5ef885e82c78..fe914ebc4bbc 100644
--- a/drivers/acpi/button.c
+++ b/drivers/acpi/button.c
@@ -109,7 +109,7 @@ static struct proc_dir_entry *acpi_button_dir;
109 109
110static int acpi_button_info_seq_show(struct seq_file *seq, void *offset) 110static int acpi_button_info_seq_show(struct seq_file *seq, void *offset)
111{ 111{
112 struct acpi_button *button = (struct acpi_button *)seq->private; 112 struct acpi_button *button = seq->private;
113 113
114 114
115 if (!button || !button->device) 115 if (!button || !button->device)
@@ -128,7 +128,7 @@ static int acpi_button_info_open_fs(struct inode *inode, struct file *file)
128 128
129static int acpi_button_state_seq_show(struct seq_file *seq, void *offset) 129static int acpi_button_state_seq_show(struct seq_file *seq, void *offset)
130{ 130{
131 struct acpi_button *button = (struct acpi_button *)seq->private; 131 struct acpi_button *button = seq->private;
132 acpi_status status; 132 acpi_status status;
133 unsigned long state; 133 unsigned long state;
134 134
@@ -253,7 +253,7 @@ static int acpi_button_remove_fs(struct acpi_device *device)
253 253
254static void acpi_button_notify(acpi_handle handle, u32 event, void *data) 254static void acpi_button_notify(acpi_handle handle, u32 event, void *data)
255{ 255{
256 struct acpi_button *button = (struct acpi_button *)data; 256 struct acpi_button *button = data;
257 257
258 258
259 if (!button || !button->device) 259 if (!button || !button->device)
@@ -275,7 +275,7 @@ static void acpi_button_notify(acpi_handle handle, u32 event, void *data)
275 275
276static acpi_status acpi_button_notify_fixed(void *data) 276static acpi_status acpi_button_notify_fixed(void *data)
277{ 277{
278 struct acpi_button *button = (struct acpi_button *)data; 278 struct acpi_button *button = data;
279 279
280 280
281 if (!button) 281 if (!button)