greybus: svc: implement module inserted and removed operations
authorJohan Hovold <johan@hovoldconsulting.com>
Sat, 23 Apr 2016 16:47:30 +0000 (18:47 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 25 Apr 2016 18:08:30 +0000 (11:08 -0700)
commit22bb9380d620b9632fb47220133ee6ab3fd36f22
treee7a4a785230ceb36a96c39381dc62d9b519d76de
parentec562f28a7de6a4a4c3f790e5cfb5e61e97419b5
greybus: svc: implement module inserted and removed operations

Implement the new module inserted and removed operations.

The SVC sends these after detecting a module insertion or removal, and
in the former case after having determined the module geometry (i.e.
position and size).

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/greybus_protocols.h
drivers/staging/greybus/svc.c