OSDN Git Service

crypto: ccp - Make use of the helper macro kthread_run()
authorCai Huoqing <caihuoqing@baidu.com>
Thu, 21 Oct 2021 08:38:54 +0000 (16:38 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 29 Oct 2021 13:04:04 +0000 (21:04 +0800)
commit83bff109616433d4cfd999e14f1ffc4759c3c1e0
tree0fcd979a13aa0e48f3658d5b797c80f750d974e2
parent284340a368a034243d304bd64e5f6923780e3708
crypto: ccp - 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: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-dev-v3.c
drivers/crypto/ccp/ccp-dev-v5.c