dmaengine: dw: drop unused module alias
The driver does not support anything but OF and ACPI probe since commit
b3757413b9 ("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>
pull/1354/merge
parent
bfab38bee5
commit
660c40702d
|
|
@ -21,8 +21,6 @@
|
||||||
|
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
#define DRV_NAME "dw_dmac"
|
|
||||||
|
|
||||||
static int dw_probe(struct platform_device *pdev)
|
static int dw_probe(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
const struct dw_dma_chip_pdata *match;
|
const struct dw_dma_chip_pdata *match;
|
||||||
|
|
@ -190,7 +188,7 @@ static struct platform_driver dw_driver = {
|
||||||
.remove = dw_remove,
|
.remove = dw_remove,
|
||||||
.shutdown = dw_shutdown,
|
.shutdown = dw_shutdown,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = DRV_NAME,
|
.name = "dw_dmac",
|
||||||
.pm = pm_sleep_ptr(&dw_dev_pm_ops),
|
.pm = pm_sleep_ptr(&dw_dev_pm_ops),
|
||||||
.of_match_table = of_match_ptr(dw_dma_of_id_table),
|
.of_match_table = of_match_ptr(dw_dma_of_id_table),
|
||||||
.acpi_match_table = ACPI_PTR(dw_dma_acpi_id_table),
|
.acpi_match_table = ACPI_PTR(dw_dma_acpi_id_table),
|
||||||
|
|
@ -211,4 +209,3 @@ module_exit(dw_exit);
|
||||||
|
|
||||||
MODULE_LICENSE("GPL v2");
|
MODULE_LICENSE("GPL v2");
|
||||||
MODULE_DESCRIPTION("Synopsys DesignWare DMA Controller platform driver");
|
MODULE_DESCRIPTION("Synopsys DesignWare DMA Controller platform driver");
|
||||||
MODULE_ALIAS("platform:" DRV_NAME);
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue