summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/connection.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/connection.c
parent7adeaae7132e06cd760b86576b8aefd2f0feb4d1 (diff)
downloadlinux-stable-100e90000840741b630d1a369119ccb57ea4e49c.tar.gz
linux-stable-100e90000840741b630d1a369119ccb57ea4e49c.tar.bz2
linux-stable-100e90000840741b630d1a369119ccb57ea4e49c.zip
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/connection.c')
-rw-r--r--drivers/staging/greybus/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/connection.c b/drivers/staging/greybus/connection.c
index 38604e8971d1..5a24dbef98f2 100644
--- a/drivers/staging/greybus/connection.c
+++ b/drivers/staging/greybus/connection.c
@@ -133,7 +133,7 @@ gb_connection_create(struct gb_host_device *hd, int hd_cport_id,
* about holding the connection lock.
*/
if (bundle && gb_connection_intf_find(bundle->intf, cport_id)) {
- dev_err(&bundle->dev, "cport 0x%04x already connected\n",
+ dev_err(&bundle->dev, "cport %u already connected\n",
cport_id);
return NULL;
}