greybus: svc: generalise deferred request handling
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 2 Dec 2015 17:23:29 +0000 (18:23 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 3 Dec 2015 00:55:45 +0000 (16:55 -0800)
commit9ae4109e5db02d4fae37bbd1399a8157efb583c4
tree847ff27138cf038b80d955e48dfc443112b5055a
parentb4ee82ece86d21c73213abae77e32abe40136eb4
greybus: svc: generalise deferred request handling

Clean up and generalise deferred request handling by simply storing a
reference-counted pointer to the operation itself in the work context.

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