Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d667cf0 authored by Rishabh Bhatnagar's avatar Rishabh Bhatnagar Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: Change to new timer API for PIL, SSR driver



Since the timer APIs have changed the timer callback function
directly gets the timer_list * pointer through which the containing
data structure can be obtained. Data is no longer part of the timer_list
struct. Removing it from code.

Change-Id: I7a0fdbe658ea6d0378548e9f6580d6e8dda3c0f8
Signed-off-by: default avatarRishabh Bhatnagar <rishabhb@codeaurora.org>
parent 0e54a526
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -564,7 +564,6 @@ static void _setup_timeout(struct subsys_desc *source_ss,
		return;
	}

	timeout_data->timer.data = (unsigned long) timeout_data;
	timeout_data->comm_type = comm_type;
	timeout = jiffies + msecs_to_jiffies(timeout_vals[comm_type]);
	mod_timer(&timeout_data->timer, timeout);