greybus: interface: add interface-type attribute
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 19 Jul 2016 13:24:46 +0000 (15:24 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 20 Jul 2016 02:03:32 +0000 (19:03 -0700)
commit1bb61840c4db64e27f0077dcfc5389e662022d40
treee3aa4d1007bc2b19624d1ebb357a605ef5d04b12
parentd29b67d44a7cf6d02e7319c0e5a4b729a0aa00e7
greybus: interface: add interface-type attribute

Add an interface-type string attribute that represents the detected
interface type as either "dummy", "unipro", "greybus", or "unknown".

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Sandeep Patil <sspatil@google.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/Documentation/sysfs-bus-greybus
drivers/staging/greybus/interface.c
drivers/staging/greybus/interface.h