-
由 Cesar Eduardo Barros 提交于
Directly casting a work_struct pointer to a delayed_work is risky if the work member of struct delayed_work is ever moved from being the first member. Instead, use the inline function to_delayed_work(), which does the same cast in a safer way (using container_of). Signed-off-by: NCesar Eduardo Barros <cesarb@cesarb.net> Signed-off-by: NFelipe Balbi <balbi@ti.com>
63a13079