Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1656152
| From | Henri Roosen <henri.roosen@ginzinger.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] rpmsg: cleanup incorrect function in dev_err message |
| Date | 2017-06-02 13:40 +0200 |
| Message-ID | <tNT5U-rX-23@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] rpmsg: cleanup incorrect function in dev_err message Henri Roosen <henri.roosen@ginzinger.com> - 2017-06-02 13:40 +0200
csiph-web