aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_throttling.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/processor_throttling.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/processor_throttling.c')
-rw-r--r--drivers/acpi/processor_throttling.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/processor_throttling.c b/drivers/acpi/processor_throttling.c
index d044ec519db0..0ec7dcde0063 100644
--- a/drivers/acpi/processor_throttling.c
+++ b/drivers/acpi/processor_throttling.c
@@ -259,7 +259,7 @@ int acpi_processor_get_throttling_info(struct acpi_processor *pr)
259static int acpi_processor_throttling_seq_show(struct seq_file *seq, 259static int acpi_processor_throttling_seq_show(struct seq_file *seq,
260 void *offset) 260 void *offset)
261{ 261{
262 struct acpi_processor *pr = (struct acpi_processor *)seq->private; 262 struct acpi_processor *pr = seq->private;
263 int i = 0; 263 int i = 0;
264 int result = 0; 264 int result = 0;
265 265
@@ -307,8 +307,8 @@ static ssize_t acpi_processor_write_throttling(struct file * file,
307 size_t count, loff_t * data) 307 size_t count, loff_t * data)
308{ 308{
309 int result = 0; 309 int result = 0;
310 struct seq_file *m = (struct seq_file *)file->private_data; 310 struct seq_file *m = file->private_data;
311 struct acpi_processor *pr = (struct acpi_processor *)m->private; 311 struct acpi_processor *pr = m->private;
312 char state_string[12] = { '\0' }; 312 char state_string[12] = { '\0' };
313 313
314 314