summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/bundle.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2015-12-07 15:05:38 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2015-12-08 15:31:14 -0500
commit100e90000840741b630d1a369119ccb57ea4e49c (patch)
tree046d40bfe8e94719c697530f73af289a48275279 /drivers/staging/greybus/bundle.c
parent7adeaae7132e06cd760b86576b8aefd2f0feb4d1 (diff)
downloadop-kernel-dev-100e90000840741b630d1a369119ccb57ea4e49c.zip
op-kernel-dev-100e90000840741b630d1a369119ccb57ea4e49c.tar.gz
greybus: use decimal notation for interfaces, bundles and cports
Fix up the last few places where hexadecimal rather than decimal notation was used for interface, bundle and cport ids. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/bundle.c')
-rw-r--r--drivers/staging/greybus/bundle.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/greybus/bundle.c b/drivers/staging/greybus/bundle.c
index e538336..d7975ed 100644
--- a/drivers/staging/greybus/bundle.c
+++ b/drivers/staging/greybus/bundle.c
@@ -98,7 +98,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 0x%02x\n", bundle_id);
+ pr_err("duplicate bundle id %u\n", bundle_id);
return NULL;
}
@@ -122,8 +122,7 @@ struct gb_bundle *gb_bundle_create(struct gb_interface *intf, u8 bundle_id,
retval = device_add(&bundle->dev);
if (retval) {
- pr_err("failed to add bundle device for id 0x%02x\n",
- bundle_id);
+ pr_err("failed to add bundle device for id %u\n", bundle_id);
put_device(&bundle->dev);
return NULL;
}
OpenPOWER on IntegriCloud