Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial tree updates from Jiri Kosina. * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (21 commits) gitignore: fix wording mfd: ab8500-debugfs: fix "between" in printk memstick: trivial fix of spelling mistake on management cpupowerutils: bench: fix "average" treewide: Fix typos in printk IB/mlx4: printk fix pinctrl: sirf/atlas7: fix printk spelling serial: mctrl_gpio: Grammar s/lines GPIOs/line GPIOs/, /sets/set/ w1: comment spelling s/minmum/minimum/ Blackfin: comment spelling s/divsor/divisor/ metag: Fix misspellings in comments. ia64: Fix misspellings in comments. hexagon: Fix misspellings in comments. tools/perf: Fix misspellings in comments. cris: Fix misspellings in comments. c6x: Fix misspellings in comments. blackfin: Fix misspelling of 'register' in comment. avr32: Fix misspelling of 'definitions' in comment. treewide: Fix typos in printk Doc: treewide : Fix typos in DocBook/filesystem.xml ...
This commit is contained in:
@@ -80,13 +80,13 @@ static const struct attribute *hwmon_cputemp2[] = {
|
||||
static ssize_t cpu0_temp_label(struct device *dev,
|
||||
struct device_attribute *attr, char *buf)
|
||||
{
|
||||
return sprintf(buf, "CPU 0 Temprature\n");
|
||||
return sprintf(buf, "CPU 0 Temperature\n");
|
||||
}
|
||||
|
||||
static ssize_t cpu1_temp_label(struct device *dev,
|
||||
struct device_attribute *attr, char *buf)
|
||||
{
|
||||
return sprintf(buf, "CPU 1 Temprature\n");
|
||||
return sprintf(buf, "CPU 1 Temperature\n");
|
||||
}
|
||||
|
||||
static ssize_t get_cpu0_temp(struct device *dev,
|
||||
@@ -169,7 +169,7 @@ static int __init loongson_hwmon_init(void)
|
||||
|
||||
ret = create_sysfs_cputemp_files(&cpu_hwmon_dev->kobj);
|
||||
if (ret) {
|
||||
pr_err("fail to create cpu temprature interface!\n");
|
||||
pr_err("fail to create cpu temperature interface!\n");
|
||||
goto fail_create_sysfs_cputemp_files;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user