greybus: define gb_connection_err()
authorAlex Elder <elder@linaro.org>
Fri, 3 Oct 2014 20:05:22 +0000 (15:05 -0500)
committerGreg Kroah-Hartman <greg@kroah.com>
Sat, 4 Oct 2014 02:02:22 +0000 (19:02 -0700)
commiteeeed42250f851a9c3368448b63c5aeaae65962a
tree1776a75c6a68a5fb514bf4e0ea85c46d842960da
parent8a30672a526adcf797bcd3e40d4ef90d8b794f3f
greybus: define gb_connection_err()

Define a function that prints error information about a Greybus
connection in a standard format.  This adopts the convention that
[M:I:C] represents the "path" the connection represents--specifying
the module id, the interface number on that module, and the
connection id on that interface.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/connection.c
drivers/staging/greybus/connection.h