mt76: Make use of the helper macro kthread_run()
authorCai Huoqing <caihuoqing@baidu.com>
Thu, 21 Oct 2021 08:41:49 +0000 (16:41 +0800)
committerFelix Fietkau <nbd@nbd.name>
Sat, 23 Oct 2021 11:23:45 +0000 (13:23 +0200)
commitf31a577ae7365bcdaaedbb2064be78e2c4f2946f
tree8eaffa6717310650a8d9eab5c3cd2270594a36cf
parent2c4766fd5d3d390cbdd1f71eacee13a756d8ef0e
mt76: 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>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/util.h