dmaengine: lgm: Use builtin_platform_driver macro to simplify the code
authorLi Zetao <lizetao1@huawei.com>
Tue, 15 Aug 2023 08:02:50 +0000 (16:02 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 21 Aug 2023 05:43:09 +0000 (11:13 +0530)
commit8674ca395003272d8215e949838ef3b27d67afde
treed01f6d364151d1cc18c421d4fe632efb8bb58c81
parentc05ce6907b3d6e148b70f0bb5eafd61dcef1ddc1
dmaengine: lgm: Use builtin_platform_driver macro to simplify the code

Use the builtin_platform_driver macro to simplify the code, which is the
same as declaring with device_initcall().

Signed-off-by: Li Zetao <lizetao1@huawei.com>
Acked-by: Peter Harliman Liem <pliem@maxlinear.com>
Link: https://lore.kernel.org/r/20230815080250.1089589-1-lizetao1@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/lgm/lgm-dma.c