From: Bryan O'Donoghue Date: Tue, 21 Jul 2015 08:10:28 +0000 (+0100) Subject: greybus: manifest: convert pr_err to dev_err X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=09fb10fe4fc04785eb8a0065c64dd9728ed71dbe;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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; }