greybus: connection: clean up control-disconnected helper
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 17 Sep 2015 11:17:23 +0000 (13:17 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 17 Sep 2015 21:33:07 +0000 (14:33 -0700)
commit72d748226379979e4a2e3e1ebf5379fa57f6f3fe
treec495bff03b749f0fa61558520aab83e8e05edd98
parent8d7a712ca86b4da7220b8c3da37f118fed3e0bb2
greybus: connection: clean up control-disconnected helper

Rename helper to the more descriptive
gb_connection_control_disconnected().

Use u16 for cport number, remove redundant cport number from warning
message, and shorten a long line.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/connection.c