summaryrefslogtreecommitdiff
path: root/drivers/greybus/operation.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/greybus/operation.c')
-rw-r--r--drivers/greybus/operation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/greybus/operation.c b/drivers/greybus/operation.c
index 8459e9bc0749..f6beeebf974c 100644
--- a/drivers/greybus/operation.c
+++ b/drivers/greybus/operation.c
@@ -279,7 +279,7 @@ static void gb_operation_work(struct work_struct *work)
if (gb_operation_is_incoming(operation)) {
gb_operation_request_handle(operation);
} else {
- ret = del_timer_sync(&operation->timer);
+ ret = timer_delete_sync(&operation->timer);
if (!ret) {
/* Cancel request message if scheduled by timeout. */
if (gb_operation_result(operation) == -ETIMEDOUT)