aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_thermal.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/processor_thermal.c')
-rw-r--r--drivers/acpi/processor_thermal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/processor_thermal.c b/drivers/acpi/processor_thermal.c
index ef5e0f6efdba..40fecd67ad83 100644
--- a/drivers/acpi/processor_thermal.c
+++ b/drivers/acpi/processor_thermal.c
@@ -208,7 +208,7 @@ int acpi_processor_set_thermal_limit(acpi_handle handle, int type)
208 if (result) 208 if (result)
209 return result; 209 return result;
210 210
211 pr = (struct acpi_processor *)acpi_driver_data(device); 211 pr = acpi_driver_data(device);
212 if (!pr) 212 if (!pr)
213 return -ENODEV; 213 return -ENODEV;
214 214
@@ -348,8 +348,8 @@ static ssize_t acpi_processor_write_limit(struct file * file,
348 size_t count, loff_t * data) 348 size_t count, loff_t * data)
349{ 349{
350 int result = 0; 350 int result = 0;
351 struct seq_file *m = (struct seq_file *)file->private_data; 351 struct seq_file *m = file->private_data;
352 struct acpi_processor *pr = (struct acpi_processor *)m->private; 352 struct acpi_processor *pr = m->private;
353 char limit_string[25] = { '\0' }; 353 char limit_string[25] = { '\0' };
354 int px = 0; 354 int px = 0;
355 int tx = 0; 355 int tx = 0;