Fixed spelling issues and corrected references. Signed-off-by: Colin Cronin <colinpatrickcronin@xxxxxxxxx> --- drivers/staging/i2o/i2o_proc.c | 72 +++++++++++++++++++++--------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/drivers/staging/i2o/i2o_proc.c b/drivers/staging/i2o/i2o_proc.c index ad84f33..c2a4f82 100644 --- a/drivers/staging/i2o/i2o_proc.c +++ b/drivers/staging/i2o/i2o_proc.c @@ -1426,19 +1426,19 @@ static int i2o_seq_show_sensors(struct seq_file *seq, void *v) u8 scaling_exponent; u32 actual_reading; u32 minimum_reading; - u32 low2lowcat_treshold; - u32 lowcat2low_treshold; - u32 lowwarn2low_treshold; - u32 low2lowwarn_treshold; - u32 norm2lowwarn_treshold; - u32 lowwarn2norm_treshold; + u32 low2lowcat_threshold; + u32 lowcat2low_threshold; + u32 lowwarn2low_threshold; + u32 low2lowwarn_threshold; + u32 norm2lowwarn_threshold; + u32 lowwarn2norm_threshold; u32 nominal_reading; - u32 hiwarn2norm_treshold; - u32 norm2hiwarn_treshold; - u32 high2hiwarn_treshold; - u32 hiwarn2high_treshold; - u32 hicat2high_treshold; - u32 hi2hicat_treshold; + u32 hiwarn2norm_threshold; + u32 norm2hiwarn_threshold; + u32 high2hiwarn_threshold; + u32 hiwarn2high_threshold; + u32 hicat2high_threshold; + u32 hi2hicat_threshold; u32 maximum_reading; u8 sensor_state; u16 event_enable; @@ -1517,31 +1517,31 @@ static int i2o_seq_show_sensors(struct seq_file *seq, void *v) result.scaling_exponent); seq_printf(seq, "Actual reading : %d\n", result.actual_reading); seq_printf(seq, "Minimum reading : %d\n", result.minimum_reading); - seq_printf(seq, "Low2LowCat treshold : %d\n", - result.low2lowcat_treshold); - seq_printf(seq, "LowCat2Low treshold : %d\n", - result.lowcat2low_treshold); - seq_printf(seq, "LowWarn2Low treshold : %d\n", - result.lowwarn2low_treshold); - seq_printf(seq, "Low2LowWarn treshold : %d\n", - result.low2lowwarn_treshold); - seq_printf(seq, "Norm2LowWarn treshold : %d\n", - result.norm2lowwarn_treshold); - seq_printf(seq, "LowWarn2Norm treshold : %d\n", - result.lowwarn2norm_treshold); + seq_printf(seq, "Low2LowCat threshold : %d\n", + result.low2lowcat_threshold); + seq_printf(seq, "LowCat2Low threshold : %d\n", + result.lowcat2low_threshold); + seq_printf(seq, "LowWarn2Low threshold : %d\n", + result.lowwarn2low_threshold); + seq_printf(seq, "Low2LowWarn threshold : %d\n", + result.low2lowwarn_threshold); + seq_printf(seq, "Norm2LowWarn threshold : %d\n", + result.norm2lowwarn_threshold); + seq_printf(seq, "LowWarn2Norm threshold : %d\n", + result.lowwarn2norm_threshold); seq_printf(seq, "Nominal reading : %d\n", result.nominal_reading); - seq_printf(seq, "HiWarn2Norm treshold : %d\n", - result.hiwarn2norm_treshold); - seq_printf(seq, "Norm2HiWarn treshold : %d\n", - result.norm2hiwarn_treshold); - seq_printf(seq, "High2HiWarn treshold : %d\n", - result.high2hiwarn_treshold); - seq_printf(seq, "HiWarn2High treshold : %d\n", - result.hiwarn2high_treshold); - seq_printf(seq, "HiCat2High treshold : %d\n", - result.hicat2high_treshold); - seq_printf(seq, "High2HiCat treshold : %d\n", - result.hi2hicat_treshold); + seq_printf(seq, "HiWarn2Norm threshold : %d\n", + result.hiwarn2norm_threshold); + seq_printf(seq, "Norm2HiWarn threshold : %d\n", + result.norm2hiwarn_threshold); + seq_printf(seq, "High2HiWarn threshold : %d\n", + result.high2hiwarn_threshold); + seq_printf(seq, "HiWarn2High threshold : %d\n", + result.hiwarn2high_threshold); + seq_printf(seq, "HiCat2High threshold : %d\n", + result.hicat2high_threshold); + seq_printf(seq, "High2HiCat threshold : %d\n", + result.hi2hicat_threshold); seq_printf(seq, "Maximum reading : %d\n", result.maximum_reading); seq_printf(seq, "Sensor state : %d = ", result.sensor_state); -- 1.9.1 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel