* [PATCH] rpmsg: cleanup incorrect function in dev_err message
@ 2017-06-02 11:36 Henri Roosen
2017-06-25 21:36 ` Bjorn Andersson
0 siblings, 1 reply; 2+ messages in thread
From: Henri Roosen @ 2017-06-02 11:36 UTC (permalink / raw)
To: linux-remoteproc; +Cc: Henri Roosen, Ohad Ben-Cohen, Bjorn Andersson, open list
Trivial cleanup for incorrect function in dev_err message
Signed-off-by: Henri Roosen <henri.roosen@ginzinger.com>
---
drivers/rpmsg/rpmsg_char.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/rpmsg/rpmsg_char.c b/drivers/rpmsg/rpmsg_char.c
index 0ca2ccc..0b5d0d3 100644
--- a/drivers/rpmsg/rpmsg_char.c
+++ b/drivers/rpmsg/rpmsg_char.c
@@ -390,7 +390,7 @@ static int rpmsg_eptdev_create(struct rpmsg_ctrldev *ctrldev,
ret = device_add(dev);
if (ret) {
- dev_err(dev, "device_register failed: %d\n", ret);
+ dev_err(dev, "device_add failed: %d\n", ret);
put_device(dev);
}
@@ -505,7 +505,7 @@ static int rpmsg_chrdev_probe(struct rpmsg_device *rpdev)
ret = device_add(dev);
if (ret) {
- dev_err(&rpdev->dev, "device_register failed: %d\n", ret);
+ dev_err(&rpdev->dev, "device_add failed: %d\n", ret);
put_device(dev);
}
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] rpmsg: cleanup incorrect function in dev_err message
2017-06-02 11:36 [PATCH] rpmsg: cleanup incorrect function in dev_err message Henri Roosen
@ 2017-06-25 21:36 ` Bjorn Andersson
0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Andersson @ 2017-06-25 21:36 UTC (permalink / raw)
To: Henri Roosen; +Cc: linux-remoteproc, Ohad Ben-Cohen, open list
On Fri 02 Jun 04:36 PDT 2017, Henri Roosen wrote:
> Trivial cleanup for incorrect function in dev_err message
>
> Signed-off-by: Henri Roosen <henri.roosen@ginzinger.com>
Applied, thanks
> ---
> drivers/rpmsg/rpmsg_char.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/rpmsg/rpmsg_char.c b/drivers/rpmsg/rpmsg_char.c
> index 0ca2ccc..0b5d0d3 100644
> --- a/drivers/rpmsg/rpmsg_char.c
> +++ b/drivers/rpmsg/rpmsg_char.c
> @@ -390,7 +390,7 @@ static int rpmsg_eptdev_create(struct rpmsg_ctrldev *ctrldev,
>
> ret = device_add(dev);
> if (ret) {
> - dev_err(dev, "device_register failed: %d\n", ret);
> + dev_err(dev, "device_add failed: %d\n", ret);
> put_device(dev);
> }
>
> @@ -505,7 +505,7 @@ static int rpmsg_chrdev_probe(struct rpmsg_device *rpdev)
>
> ret = device_add(dev);
> if (ret) {
> - dev_err(&rpdev->dev, "device_register failed: %d\n", ret);
> + dev_err(&rpdev->dev, "device_add failed: %d\n", ret);
> put_device(dev);
> }
>
> --
> 2.1.4
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-06-25 21:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-02 11:36 [PATCH] rpmsg: cleanup incorrect function in dev_err message Henri Roosen
2017-06-25 21:36 ` Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).