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>
This commit is contained in:
Matt Porter 2014-10-21 22:43:30 -04:00 • committed by Greg Kroah-Hartman
commit 1a4c013a44
2 changed files with 15 additions and 0 deletions