diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2015-09-26 17:59:15 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-09-29 19:14:26 +0200 |
commit | 6ab1ce4d542ea1b5ffa40321e021d95de47880ea (patch) | |
tree | b383b7003da3bdf175611b6538fb5621d43d8d89 /drivers/staging/greybus/operation.c | |
parent | 58c85123d9a1801af2558a0c925d90fe1599c27f (diff) |
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>
Diffstat (limited to 'drivers/staging/greybus/operation.c')
-rw-r--r-- | drivers/staging/greybus/operation.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/greybus/operation.c b/drivers/staging/greybus/operation.c index d159831f1421..fae6ee9071df 100644 --- a/drivers/staging/greybus/operation.c +++ b/drivers/staging/greybus/operation.c @@ -1035,7 +1035,8 @@ int gb_operation_sync_timeout(struct gb_connection *connection, int type, response_size); } } - gb_operation_destroy(operation); + + gb_operation_put(operation); return ret; } |