From: Johan Hovold <johan@kernel.org>
To: Vinod Koul <vkoul@kernel.org>
Cc: Florian Fainelli <florian.fainelli@broadcom.com>,
Viresh Kumar <vireshk@kernel.org>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Frank Li <Frank.Li@nxp.com>,
Laxman Dewangan <ldewangan@nvidia.com>,
Jon Hunter <jonathanh@nvidia.com>,
dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org,
Johan Hovold <johan@kernel.org>
Subject: [PATCH 2/9] dmaengine: dw: drop unused module alias
Date: Thu, 20 Nov 2025 12:45:17 +0100 [thread overview]
Message-ID: <20251120114524.8431-3-johan@kernel.org> (raw)
In-Reply-To: <20251120114524.8431-1-johan@kernel.org>
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>
---
drivers/dma/dw/platform.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/dma/dw/platform.c b/drivers/dma/dw/platform.c
index cee56cd31a61..c63fa52036d7 100644
--- a/drivers/dma/dw/platform.c
+++ b/drivers/dma/dw/platform.c
@@ -21,8 +21,6 @@
#include "internal.h"
-#define DRV_NAME "dw_dmac"
-
static int dw_probe(struct platform_device *pdev)
{
const struct dw_dma_chip_pdata *match;
@@ -190,7 +188,7 @@ static struct platform_driver dw_driver = {
.remove = dw_remove,
.shutdown = dw_shutdown,
.driver = {
- .name = DRV_NAME,
+ .name = "dw_dmac",
.pm = pm_sleep_ptr(&dw_dev_pm_ops),
.of_match_table = of_match_ptr(dw_dma_of_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_DESCRIPTION("Synopsys DesignWare DMA Controller platform driver");
-MODULE_ALIAS("platform:" DRV_NAME);
--
2.51.2
next prev parent reply other threads:[~2025-11-20 11:45 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-20 11:45 [PATCH 0/9] dmaengine: drop unused module aliases Johan Hovold
2025-11-20 11:45 ` [PATCH 1/9] dmaengine: bcm2835: drop unused module alias Johan Hovold
2025-11-20 11:45 ` Johan Hovold [this message]
2025-11-20 13:50 ` [PATCH 2/9] dmaengine: dw: " Andy Shevchenko
2025-11-20 11:45 ` [PATCH 3/9] dmaengine: fsl-edma: " Johan Hovold
2025-11-21 3:23 ` Frank Li
2025-11-20 11:45 ` [PATCH 4/9] dmaengine: fsl-qdma: " Johan Hovold
2025-11-21 3:23 ` Frank Li
2025-11-21 3:27 ` Frank Li
2025-11-20 11:45 ` [PATCH 5/9] dmaengine: k3dma: " Johan Hovold
2025-11-20 11:45 ` [PATCH 6/9] dmaengine: mmp_tdma: " Johan Hovold
2025-11-20 11:45 ` [PATCH 7/9] dmaengine: mmp_tdma: drop unnecessary OF node check in remove Johan Hovold
2025-11-20 11:45 ` [PATCH 8/9] dmaengine: sprd: drop unused module alias Johan Hovold
2025-11-20 11:45 ` [PATCH 9/9] dmaengine: tegra210-adma: " Johan Hovold
2025-11-20 11:56 ` Jon Hunter
2025-11-22 9:30 ` [PATCH 0/9] dmaengine: drop unused module aliases Vinod Koul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251120114524.8431-3-johan@kernel.org \
--to=johan@kernel.org \
--cc=Frank.Li@nxp.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=dmaengine@vger.kernel.org \
--cc=florian.fainelli@broadcom.com \
--cc=jonathanh@nvidia.com \
--cc=ldewangan@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=vireshk@kernel.org \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox