dmaengine: ppc4xx: Make use of the helper macro LIST_HEAD()
authorCai Huoqing <cai.huoqing@linux.dev>
Wed, 9 Feb 2022 03:22:19 +0000 (11:22 +0800)
committerVinod Koul <vkoul@kernel.org>
Fri, 11 Mar 2022 10:09:09 +0000 (15:39 +0530)
commit417c7d0dba8b69a42cec800244eb5ac87129353d
tree3064659178b3d18d9c1354389ec1b478127a009f
parentb6f2f0352c0302076dcd0e0297592ea7d37f2242
dmaengine: ppc4xx: Make use of the helper macro LIST_HEAD()

Replace "struct list_head head = LIST_HEAD_INIT(head)" with
"LIST_HEAD(head)" to simplify the code.

Signed-off-by: Cai Huoqing <cai.huoqing@linux.dev>
Link: https://lore.kernel.org/r/20220209032221.37211-1-cai.huoqing@linux.dev
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/ppc4xx/adma.c