diff options
author | Guenter Roeck <linux@roeck-us.net> | 2013-03-13 19:40:39 -0400 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-04-08 00:16:40 -0400 |
commit | 088ce2ac9ebac5c74faf4d39083627875fa6f0f0 (patch) | |
tree | 4e62aa545bf3fc762ec35538799dcfc24751e769 /drivers/hwmon/da9055-hwmon.c | |
parent | 236d9039480059f97dc9d3cd75e3651582b62997 (diff) |
hwmon: Fix CamelCase checkpatch warnings
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/da9055-hwmon.c')
-rw-r--r-- | drivers/hwmon/da9055-hwmon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/da9055-hwmon.c b/drivers/hwmon/da9055-hwmon.c index 9465c050c326..029ecabc4380 100644 --- a/drivers/hwmon/da9055-hwmon.c +++ b/drivers/hwmon/da9055-hwmon.c | |||
@@ -119,7 +119,7 @@ static irqreturn_t da9055_auxadc_irq(int irq, void *irq_data) | |||
119 | } | 119 | } |
120 | 120 | ||
121 | /* Conversion function for VSYS and ADCINx */ | 121 | /* Conversion function for VSYS and ADCINx */ |
122 | static inline int volt_reg_to_mV(int value, int channel) | 122 | static inline int volt_reg_to_mv(int value, int channel) |
123 | { | 123 | { |
124 | if (channel == DA9055_ADC_VSYS) | 124 | if (channel == DA9055_ADC_VSYS) |
125 | return DIV_ROUND_CLOSEST(value * 1000, DA9055_VSYS_DIV) + 2500; | 125 | return DIV_ROUND_CLOSEST(value * 1000, DA9055_VSYS_DIV) + 2500; |
@@ -168,7 +168,7 @@ static ssize_t da9055_read_auto_ch(struct device *dev, | |||
168 | 168 | ||
169 | mutex_unlock(&hwmon->hwmon_lock); | 169 | mutex_unlock(&hwmon->hwmon_lock); |
170 | 170 | ||
171 | return sprintf(buf, "%d\n", volt_reg_to_mV(adc, channel)); | 171 | return sprintf(buf, "%d\n", volt_reg_to_mv(adc, channel)); |
172 | 172 | ||
173 | hwmon_err_release: | 173 | hwmon_err_release: |
174 | da9055_disable_auto_mode(hwmon->da9055, channel); | 174 | da9055_disable_auto_mode(hwmon->da9055, channel); |