From 09fb10fe4fc04785eb8a0065c64dd9728ed71dbe Mon Sep 17 00:00:00 2001 From: Bryan O'Donoghue Date: Tue, 21 Jul 2015 09:10:28 +0100 Subject: [PATCH] greybus: manifest: convert pr_err to dev_err This patch converts a dangling pr_err in the manifest parsing error path to a dev_err in order to remain consistent with similar error messages elsewhere. Signed-off-by: Bryan O'Donoghue Reviewed-by: Viresh Kumar Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/manifest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/greybus/manifest.c b/drivers/staging/greybus/manifest.c index a84c07133575..559b2ee6e434 100644 --- a/drivers/staging/greybus/manifest.c +++ b/drivers/staging/greybus/manifest.c @@ -355,7 +355,7 @@ static bool gb_manifest_parse_interface(struct gb_interface *intf, /* An interface must have at least one bundle descriptor */ if (!gb_manifest_parse_bundles(intf)) { - pr_err("manifest bundle descriptors not valid\n"); + dev_err(&intf->dev, "manifest bundle descriptors not valid\n"); goto out_err; } -- 2.20.1