From: Bryan O'Donoghue Date: Mon, 14 Sep 2015 09:48:44 +0000 (+0100) Subject: greybus: loopback: convert pr_info to dev_err X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f2cfa7043940cdda5c9e945b1cf5c66da172bc33;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Reviewed-by: Viresh Kumar Signed-off-by: Greg Kroah-Hartman --- 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; }