]> git.baikalelectronics.ru Git - kernel.git/commit
media: gspca: Make use of the helper macro kthread_run()
authorCai Huoqing <caihuoqing@baidu.com>
Thu, 21 Oct 2021 08:41:42 +0000 (09:41 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 15 Nov 2021 08:12:01 +0000 (08:12 +0000)
commit04b8da5ebd454d68a2b5e890377fab322879e243
treed7092ba25601ac4ad851b625e5349fdfe36a40da
parentfa6a363acde50cb8beea96876adca5eebfc1e3c1
media: gspca: Make use of the helper macro kthread_run()

Repalce kthread_create/wake_up_process() with kthread_run()
to simplify the code.

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/usb/gspca/m5602/m5602_s5k83a.c