mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 22:07:45 +07:00
greybus: bundle: use dev_err for bundle-creation errors
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>
This commit is contained in:
parent
1db1b24304
commit
a234792d71
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user