summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/manifest.c
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2015-07-21 09:10:28 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2015-07-22 10:17:26 -0700
commit09fb10fe4fc04785eb8a0065c64dd9728ed71dbe (patch)
tree4dce0f369e784b348bc3479a38be1b66d8db83ec /drivers/staging/greybus/manifest.c
parentb38fe3472d38933b9fb751918a09d65f1483ef8b (diff)
downloadlinux-09fb10fe4fc04785eb8a0065c64dd9728ed71dbe.tar.bz2
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 <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/manifest.c')
-rw-r--r--drivers/staging/greybus/manifest.c2
1 files changed, 1 insertions, 1 deletions
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;
}