greybus: interface: separate initialisation and registration
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 9 Mar 2016 11:20:36 +0000 (12:20 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 10 Mar 2016 21:57:42 +0000 (13:57 -0800)
commit7a137fb290df63f24242fc4996decd0b339ba3b1
treea977d0c2845747f32274a0b801cc855fcff38e02
parent39495a2bea4d523c4d36f28f3739caa8d3a404c4
greybus: interface: separate initialisation and registration

Separate interface initialisation from registration of the interface and
its bundles.

This is a step towards registering also interfaces that failed to
initialise (e.g. a dummy interface).

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Jeffrey Carlyle <jcarlyle@google.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/interface.c
drivers/staging/greybus/interface.h
drivers/staging/greybus/svc.c