Skip to content
Commit 1041dee2 authored by Bernard's avatar Bernard Committed by Rob Clark
Browse files

drm/msm: use kthread_create_worker instead of kthread_run



Use kthread_create_worker to simplify the code and optimise
the manager struct: msm_drm_thread. With this change, we
could remove struct element (struct task_struct *thread &
struct kthread_worker worker), instead, use one point (struct
kthread_worker *worker).

Signed-off-by: default avatarBernard Zhao <bernard@vivo.com>
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
parent 974b7115
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment