summaryrefslogtreecommitdiff
path: root/drivers/macintosh/windfarm_lm87_sensor.c
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2019-10-18 06:18:32 +0300
committerPetr Mladek <pmladek@suse.com>2019-10-18 16:00:22 +0300
commit2ee9a0db924ed3d586d2ae754a154bd7748b6a99 (patch)
tree886acaef22bc7cc3f29814afacabca69d74d7597 /drivers/macintosh/windfarm_lm87_sensor.c
parent257daba4eb7f2b78c5b3d77443985c6c53560c73 (diff)
downloadlinux-2ee9a0db924ed3d586d2ae754a154bd7748b6a99.tar.xz
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_lm87_sensor.c')
-rw-r--r--drivers/macintosh/windfarm_lm87_sensor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/macintosh/windfarm_lm87_sensor.c b/drivers/macintosh/windfarm_lm87_sensor.c
index e44525b19071..b03a33b803b7 100644
--- a/drivers/macintosh/windfarm_lm87_sensor.c
+++ b/drivers/macintosh/windfarm_lm87_sensor.c
@@ -124,8 +124,8 @@ static int wf_lm87_probe(struct i2c_client *client,
}
}
if (!name) {
- pr_warning("wf_lm87: Unsupported sensor %pOF\n",
- client->dev.of_node);
+ pr_warn("wf_lm87: Unsupported sensor %pOF\n",
+ client->dev.of_node);
return -ENODEV;
}