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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/greybus/operation.c b/drivers/greybus/operation.c
index f6beeebf974c..54ccc434a1f7 100644
--- a/drivers/greybus/operation.c
+++ b/drivers/greybus/operation.c
@@ -295,7 +295,8 @@ static void gb_operation_work(struct work_struct *work)
static void gb_operation_timeout(struct timer_list *t)
{
- struct gb_operation *operation = from_timer(operation, t, timer);
+ struct gb_operation *operation = timer_container_of(operation, t,
+ timer);
if (gb_operation_result_set(operation, -ETIMEDOUT)) {
/*