- IOReturn res = kIOReturnError;
- IOSimpleReportValues simple_values;
- int element_index = 0;
-
- lockReporter();
-
- if (getFirstElementIndex(channel_id, &element_index) != kIOReturnSuccess) {
- res = kIOReturnBadArgument;
- goto finish;
- }
-
- if (copyElementValues(element_index, (IOReportElementValues *)&simple_values) != kIOReturnSuccess){
- res = kIOReturnBadArgument;
- goto finish;
- }
-
- simple_values.simple_value += increment;
-
- res = setElementValues(element_index, (IOReportElementValues *)&simple_values);
-
+ IOReturn res = kIOReturnError;
+ IOSimpleReportValues simple_values;
+ int element_index = 0;
+
+ lockReporter();
+
+ if (getFirstElementIndex(channel_id, &element_index) != kIOReturnSuccess) {
+ res = kIOReturnBadArgument;
+ goto finish;
+ }
+
+ if (copyElementValues(element_index, (IOReportElementValues *)&simple_values) != kIOReturnSuccess) {
+ res = kIOReturnBadArgument;
+ goto finish;
+ }
+
+ simple_values.simple_value += increment;
+
+ res = setElementValues(element_index, (IOReportElementValues *)&simple_values);
+