aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/acpi_power_meter.c
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2012-01-04 14:58:52 -0500
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-01-05 11:19:34 -0500
commit179c4fdb565dd2157e5dfe89318b74868e3b523d (patch)
tree66c8b705260562df090a5061af2be9c80b71cd4b /drivers/hwmon/acpi_power_meter.c
parent24edc0a71badc13a9574b060e6a22e78339ac7a4 (diff)
hwmon: replaced strict_str* with kstr*
replaced strict_strtol with kstrtol and replaced strict_strtuol with kstrtuol This satisfies checkpatch -f Compile tested only: no warnings or errors given Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/hwmon/acpi_power_meter.c')
-rw-r--r--drivers/hwmon/acpi_power_meter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwmon/acpi_power_meter.c b/drivers/hwmon/acpi_power_meter.c
index 66f67293341e..522860ab6ce8 100644
--- a/drivers/hwmon/acpi_power_meter.c
+++ b/drivers/hwmon/acpi_power_meter.c
@@ -170,7 +170,7 @@ static ssize_t set_avg_interval(struct device *dev,
170 unsigned long long data; 170 unsigned long long data;
171 acpi_status status; 171 acpi_status status;
172 172
173 res = strict_strtoul(buf, 10, &temp); 173 res = kstrtoul(buf, 10, &temp);
174 if (res) 174 if (res)
175 return res; 175 return res;
176 176
@@ -241,7 +241,7 @@ static ssize_t set_cap(struct device *dev, struct device_attribute *devattr,
241 unsigned long long data; 241 unsigned long long data;
242 acpi_status status; 242 acpi_status status;
243 243
244 res = strict_strtoul(buf, 10, &temp); 244 res = kstrtoul(buf, 10, &temp);
245 if (res) 245 if (res)
246 return res; 246 return res;
247 247
@@ -311,7 +311,7 @@ static ssize_t set_trip(struct device *dev, struct device_attribute *devattr,
311 int res; 311 int res;
312 unsigned long temp; 312 unsigned long temp;
313 313
314 res = strict_strtoul(buf, 10, &temp); 314 res = kstrtoul(buf, 10, &temp);
315 if (res) 315 if (res)
316 return res; 316 return res;
317 317