greybus: operation: remove gb_operation_destroy
authorJohan Hovold <johan@hovoldconsulting.com>
Sun, 27 Sep 2015 00:59:15 +0000 (17:59 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 29 Sep 2015 17:14:26 +0000 (19:14 +0200)
commit6ab1ce4d542ea1b5ffa40321e021d95de47880ea
treeb383b7003da3bdf175611b6538fb5621d43d8d89
parent58c85123d9a1801af2558a0c925d90fe1599c27f
greybus: operation: remove gb_operation_destroy

Remove legacy interface to "destroy" operations, which is now just a
wrapper for gb_operation_put.

The old interface name hides the fact that all operations are refcounted
and may live on even after having "destroyed" them.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/hid.c
drivers/staging/greybus/i2c.c
drivers/staging/greybus/loopback.c
drivers/staging/greybus/operation.c
drivers/staging/greybus/operation.h
drivers/staging/greybus/spi.c