projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1db1b24
)
greybus: bundle: use dev_err for bundle-creation errors
author
Johan Hovold
<johan@hovoldconsulting.com>
Mon, 7 Dec 2015 14:05:41 +0000
(15:05 +0100)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Tue, 8 Dec 2015 20:56:38 +0000
(15:56 -0500)
Use dev_err to report duplicate bundle ids when creating a bundle.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/bundle.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/bundle.c
b/drivers/staging/greybus/bundle.c
index
c2dbd24
..
5d058a9
100644
(file)
--- a/
drivers/staging/greybus/bundle.c
+++ b/
drivers/staging/greybus/bundle.c
@@
-108,7
+108,7
@@
struct gb_bundle *gb_bundle_create(struct gb_interface *intf, u8 bundle_id,
* the interface bundle list locked here.
*/
if (gb_bundle_find(intf, bundle_id)) {
-
pr_err(
"duplicate bundle id %u\n", bundle_id);
+
dev_err(&intf->dev,
"duplicate bundle id %u\n", bundle_id);
return NULL;
}