diff options
author | Bryan O'Donoghue | 2015-09-14 11:48:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-09-15 06:35:59 +0200 |
commit | f2cfa7043940cdda5c9e945b1cf5c66da172bc33 (patch) | |
tree | 0865f9d88b1568cc3c488ce8e5b9b54739fd6fe8 /drivers/staging/greybus | |
parent | greybus: loopback: ensure sysfs entries are cleaned up on exit (diff) | |
download | kernel-qcow2-linux-f2cfa7043940cdda5c9e945b1cf5c66da172bc33.tar.gz kernel-qcow2-linux-f2cfa7043940cdda5c9e945b1cf5c66da172bc33.tar.xz kernel-qcow2-linux-f2cfa7043940cdda5c9e945b1cf5c66da172bc33.zip |
greybus: loopback: convert pr_info to dev_err
This patch fixes and invalid use of pr_info() in favour of dev_err();
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus')
-rw-r--r-- | drivers/staging/greybus/loopback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/loopback.c b/drivers/staging/greybus/loopback.c index 338522a49f9d..a9b901fbeb5c 100644 --- a/drivers/staging/greybus/loopback.c +++ b/drivers/staging/greybus/loopback.c @@ -450,7 +450,7 @@ static int gb_loopback_transfer(struct gb_loopback *gb, u32 len) goto gb_error; if (memcmp(request->data, response->data, len)) { - pr_info("%s: Loopback Data doesn't match\n", __func__); + dev_err(&gb->connection->dev, "Loopback Data doesn't match\n"); retval = -EREMOTEIO; } |