OSDN Git Service

dmaengine: stm32: use to_platform_device()
authorWeitao Hou <houweitaoo@gmail.com>
Sun, 26 May 2019 07:13:24 +0000 (15:13 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 27 May 2019 06:42:17 +0000 (12:12 +0530)
commit7b11ef9653d2520540df708f92949f06ed8a42e2
tree93aab8be7b47932bbccc990de1e78e1ef77f7e25
parentc54d86641fe774154b7742b765e3e2f8affcb7e6
dmaengine: stm32: use to_platform_device()

Use to_platform_device() instead of open-coding it.

Signed-off-by: Weitao Hou <houweitaoo@gmail.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/stm32-dmamux.c