View | Details | Raw Unified | Return to bug 118602
Collapse All | Expand All

(-)linux-2.6.13.orig/drivers/acpi/pcc_acpi.c (-2 / +5 lines)
Lines 187-196 Link Here
187
	acpi_os_free(buffer.pointer);
187
	acpi_os_free(buffer.pointer);
188
	
188
	
189
	if (status != AE_OK) {
189
	if (status != AE_OK) {
190
		return -1;
190
		return 0;
191
	}
191
	}
192
192
193
	return 0;
193
	return 1;
194
}
194
}
195
195
196
static int acpi_pcc_read_sinf_field(struct seq_file *seq, int field)
196
static int acpi_pcc_read_sinf_field(struct seq_file *seq, int field)
Lines 208-213 Link Here
208
		seq_printf(seq, "%u\n",	sinf[field]);
208
		seq_printf(seq, "%u\n",	sinf[field]);
209
	}
209
	}
210
	else {
210
	else {
211
		seq_printf(seq, "error");
211
		printk(PCC_ERR "acpi_pcc_read_sinf_field() could not retrieve \
212
		printk(PCC_ERR "acpi_pcc_read_sinf_field() could not retrieve \
212
				BIOS data\n");
213
				BIOS data\n");
213
	}
214
	}
Lines 878-883 Link Here
878
				notify handler\n");
879
				notify handler\n");
879
	}
880
	}
880
881
882
	input_unregister_device(hotkey->input_dev);
883
881
	kfree(hotkey);
884
	kfree(hotkey);
882
885
883
	if(status != AE_OK) {
886
	if(status != AE_OK) {

Return to bug 118602