greybus: interface: add gb_interface_find()
authorMatt Porter <mporter@linaro.org>
Wed, 22 Oct 2014 02:43:30 +0000 (22:43 -0400)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 22 Oct 2014 05:57:49 +0000 (13:57 +0800)
commit1a4c013a44add7f174e0507f0240f3b3cc810301
tree9f74653ea74050b54acc8cb0ce270bb10e1240ab
parent6271b5bac99c2d06543adbdbecb9157d77765831
greybus: interface: add gb_interface_find()

Add support for getting a struct gb_interface from an
Interface ID.

Signed-off-by: Matt Porter <mporter@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/interface.c
drivers/staging/greybus/interface.h