Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dmaengine: dw: drop unused module alias

The driver does not support anything but OF and ACPI probe since commit
b3757413b91e ("dmaengine: dw: platform: Use struct dw_dma_chip_pdata")
so drop the unused platform module alias along with the now unnecessary
driver name define.

Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20251120114524.8431-3-johan@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Johan Hovold and committed by
Vinod Koul
660c4070 bfab38be

+1 -4
+1 -4
drivers/dma/dw/platform.c
··· 21 21 22 22 #include "internal.h" 23 23 24 - #define DRV_NAME "dw_dmac" 25 - 26 24 static int dw_probe(struct platform_device *pdev) 27 25 { 28 26 const struct dw_dma_chip_pdata *match; ··· 188 190 .remove = dw_remove, 189 191 .shutdown = dw_shutdown, 190 192 .driver = { 191 - .name = DRV_NAME, 193 + .name = "dw_dmac", 192 194 .pm = pm_sleep_ptr(&dw_dev_pm_ops), 193 195 .of_match_table = of_match_ptr(dw_dma_of_id_table), 194 196 .acpi_match_table = ACPI_PTR(dw_dma_acpi_id_table), ··· 209 211 210 212 MODULE_LICENSE("GPL v2"); 211 213 MODULE_DESCRIPTION("Synopsys DesignWare DMA Controller platform driver"); 212 - MODULE_ALIAS("platform:" DRV_NAME);