]> git.karo-electronics.de Git - karo-tx-linux.git/commit
greybus: interface: device_id belongs to the interface
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 1 Jul 2015 06:43:58 +0000 (12:13 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 1 Jul 2015 23:38:42 +0000 (16:38 -0700)
commitc3add7883c70b625b99c37ca89e6ec8733037ce3
treef5fe6f2f17ffdd6f482b6c8c5204ac69f37c7ab0
parent7e9017d482a2678ed32e7f60e6bfea10bab2dfa1
greybus: interface: device_id belongs to the interface

While introducing bundles, the device_id also got moved to the bundle,
whereas it identifies an interface block to the AP.

Move it back to interface instead of bundle.

Calls to gb_bundle(s)_init() are dropped as connections will be
initialized while they are created now, as device_id will be valid.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/Documentation/sysfs-bus-greybus
drivers/staging/greybus/bundle.c
drivers/staging/greybus/bundle.h
drivers/staging/greybus/connection.c
drivers/staging/greybus/interface.c
drivers/staging/greybus/interface.h