]> git.karo-electronics.de Git - karo-tx-linux.git/commit
greybus: operation: use dev_err in gb_operation_sync
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 19 Mar 2015 15:46:18 +0000 (16:46 +0100)
committerGreg Kroah-Hartman <greg@kroah.com>
Thu, 19 Mar 2015 16:28:19 +0000 (17:28 +0100)
commitee8f81b0961fa240ddf4d7740ac501606e4ed230
tree98b01504057db870185a63f6cc18b7c6b8ef5b0f
parent25eb732954ee656edd92770f498d28f87086511b
greybus: operation: use dev_err in gb_operation_sync

Use the more informative dev_err in gb_operation_sync, which includes
the connection device name in the error message (which in turn encodes
the module, interface, bundle and cport ids).

Add missing braces to conditional-construct branches while at it.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/operation.c