diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2019-10-18 05:18:32 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2019-10-18 15:00:22 +0200 |
commit | 2ee9a0db924ed3d586d2ae754a154bd7748b6a99 (patch) | |
tree | 886acaef22bc7cc3f29814afacabca69d74d7597 /drivers/macintosh/windfarm_rm31.c | |
parent | idsn: Use pr_warn instead of pr_warning (diff) | |
download | linux-2ee9a0db924ed3d586d2ae754a154bd7748b6a99.tar.xz linux-2ee9a0db924ed3d586d2ae754a154bd7748b6a99.zip |
macintosh: Use pr_warn instead of pr_warning
As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of
pr_warning"), removing pr_warning so all logging messages use a
consistent <prefix>_warn style. Let's do it.
Link: http://lkml.kernel.org/r/20191018031850.48498-15-wangkefeng.wang@huawei.com
To: linux-kernel@vger.kernel.org
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'drivers/macintosh/windfarm_rm31.c')
-rw-r--r-- | drivers/macintosh/windfarm_rm31.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/macintosh/windfarm_rm31.c b/drivers/macintosh/windfarm_rm31.c index 8456eb67184b..7acd1684c451 100644 --- a/drivers/macintosh/windfarm_rm31.c +++ b/drivers/macintosh/windfarm_rm31.c @@ -281,8 +281,8 @@ static void cpu_fans_tick(void) for (i = 0; i < 3; i++) { err = wf_control_set(cpu_fans[cpu][i], speed); if (err) { - pr_warning("wf_rm31: Fan %s reports error %d\n", - cpu_fans[cpu][i]->name, err); + pr_warn("wf_rm31: Fan %s reports error %d\n", + cpu_fans[cpu][i]->name, err); failure_state |= FAILURE_FAN; } } @@ -465,7 +465,7 @@ static void slots_fan_tick(void) err = wf_sensor_get(slots_temp, &temp); if (err) { - pr_warning("wf_rm31: slots temp sensor error %d\n", err); + pr_warn("wf_rm31: slots temp sensor error %d\n", err); failure_state |= FAILURE_SENSOR; wf_control_set_max(slots_fan); return; |