]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
greybus: connection: clean up connection creation
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 23 Jul 2015 08:50:00 +0000 (10:50 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 23 Jul 2015 19:55:25 +0000 (12:55 -0700)
commit7c63a827d088363d89883a3b24af9bd2a6926924
tree4000edeb952aed50e88efcf745b1101a2ae264a7
parent2975617421f843cac23eeb573a31d541f2aef9cf
greybus: connection: clean up connection creation

Add variable for the host cport id rather than overload retval.
Remove redundant automatic variable for the id map.

Tested-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/connection.c