summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2016-04-19 17:27:33 +0200
committerJiri Kosina <jkosina@suse.cz>2016-04-28 10:52:28 +0200
commitc01e01597cbd0cf0571c2b05bf9e2245afb4478d (patch)
tree42c4de0f06da68e34e674cc1caf346205e806a7f /drivers/platform
parentIB/mlx4: printk fix (diff)
downloadlinux-c01e01597cbd0cf0571c2b05bf9e2245afb4478d.tar.xz
linux-c01e01597cbd0cf0571c2b05bf9e2245afb4478d.zip
treewide: Fix typos in printk
This patch fix spelling typos in printk from various part of the codes. Signed-off-by: Masanari Iida <standby24x7@gmail.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/mips/cpu_hwmon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/platform/mips/cpu_hwmon.c b/drivers/platform/mips/cpu_hwmon.c
index 0f6c63e17049..4993e19f1531 100644
--- a/drivers/platform/mips/cpu_hwmon.c
+++ b/drivers/platform/mips/cpu_hwmon.c
@@ -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;
}