]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
greybus: manifest: convert pr_err to dev_err
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Tue, 21 Jul 2015 08:10:28 +0000 (09:10 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 22 Jul 2015 17:17:26 +0000 (10:17 -0700)
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>
drivers/staging/greybus/manifest.c

index a84c07133575c87164e8cfb1ed643472c2630d78..559b2ee6e43435f0777aec9567b881de606ffd33 100644 (file)
@@ -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;
        }