greybus: endo: record AP interface id
authorAlex Elder <elder@linaro.org>
Fri, 22 May 2015 17:56:48 +0000 (12:56 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Sat, 23 May 2015 23:44:45 +0000 (16:44 -0700)
commit344943d2cdd85347637d0f3691c8c8bd34432247
treeb669b858c6eba9aa6f326c310746c4ea6b673ac5
parente45524f849434074ff91d75bb9360a08aa535ba4
greybus: endo: record AP interface id

The AP resides in a particular position on an Endo, which is
identified by an interface ID.  (For now we'll assume the AP uses
just one interface.)  Record the this AP interface ID when creating
an Endo.  Add a sysfs attribute to display it as well.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/core.c
drivers/staging/greybus/endo.c
drivers/staging/greybus/endo.h