tty: mips_ejtag_fdc: Make use of the helper function kthread_run_on_cpu()
authorCai Huoqing <cai.huoqing@linux.dev>
Thu, 2 Dec 2021 14:07:37 +0000 (22:07 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Dec 2021 15:00:41 +0000 (16:00 +0100)
commit13a5fad39a7b781c21d9528bcf52a5f5babafe99
tree5a01ce32f1349933d2f124c41418619a170b76a8
parentd1180405c7b5c7a1c6bde79d5fc24fe931430737
tty: mips_ejtag_fdc: Make use of the helper function kthread_run_on_cpu()

Replace kthread_create/kthread_bind/wake_up_process() with
kthread_run_on_cpu() to simplify the code.

Signed-off-by: Cai Huoqing <cai.huoqing@linux.dev>
Link: https://lore.kernel.org/r/20211202140737.94832-1-cai.huoqing@linux.dev
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/mips_ejtag_fdc.c