Skip to contentSkip to conversation

watchdog: Remove MODULE_ALIAS from menz69_wdt

PATCH RESEND In review Jose Javier Rodriguez Barbarin 2 participants 3 messages Mar 23

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v2 cover watchdog: Remove MODULE_ALIAS from menz69_wdt

The first patches I sent for fixing the autoload problem encountered on mcb device drivers were 2. The first [1] was focused on updating the modpost process for letting kbuild to access to the data within MODULE_DEVICE_TABLE and the second one [2] for removing the MODULE_ALIAS on all mcb client drivers.

They were rejected and Andy suggested me to split the second patch in a per-driver basis instead of sending all drivers' changes in a single patch once the first patch was merged.

The first patch is already merged on Linus's Git repository for 6.19-rc4

commit 1f4ea4838b13 ("mcb: Add missing modpost build support")

So now I am sending this patch for removing MODULE_ALIASon all mcb client drivers as it is no longer required. This cleanup is being sent to each affected subsystem separately, as per the review suggestion to ease the handling for maintainers.

[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/

changes in v2:
- Renane commit message

Jose Javier Rodriguez Barbarin (1):
watchdog: menz069_wdt: drop unneeded MODULE_ALIAS

 drivers/watchdog/menz69_wdt.c | 1 -
 1 file changed, 1 deletion(-)
Signature · 1 line
2.52.0
#1 lore raw

PATCH RESEND v2 1/1 watchdog: menz069_wdt: drop unneeded MODULE_ALIAS

Since commit 1f4ea4838b13 ("mcb: Add missing modpost build support") the MODULE_ALIAS() is redundant as the module alias is now automatically generated from the MODULE_DEVICE_TABLE().

Remove the explicit alias.

No functional change intended.

---
 drivers/watchdog/menz69_wdt.c | 1 -
 1 file changed, 1 deletion(-)
drivers/watchdog/menz69_wdt.c +0 -1
index 6e5e4e5c0b56..3fe23451135d 100644
@@ -163,5 +163,4 @@ module_mcb_driver(men_z069_driver);
 MODULE_AUTHOR("Johannes Thumshirn <[email protected]>");
 MODULE_DESCRIPTION("Watchdog driver for the MEN z069 IP-Core");
 MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("mcb:16z069");
 MODULE_IMPORT_NS("MCB");
Signature · 1 line
2.52.0
maintainer Reviewed-by on v2 1/1
#2 lore raw

Re: [PATCH RESEND v2 1/1] watchdog: menz069_wdt: drop unneeded MODULE_ALIAS

Quoted 10 lines · Jose Javier Rodriguez Barbarin

Since commit 1f4ea4838b13 ("mcb: Add missing modpost build support") the MODULE_ALIAS() is redundant as the module alias is now automatically generated from the MODULE_DEVICE_TABLE().

Remove the explicit alias.

No functional change intended.

Quoted 14 lines
---
  drivers/watchdog/menz69_wdt.c | 1 -
  1 file changed, 1 deletion(-)
drivers/watchdog/menz69_wdt.c +0 -1
index 6e5e4e5c0b56..3fe23451135d 100644
@@ -163,5 +163,4 @@ module_mcb_driver(men_z069_driver);
  MODULE_AUTHOR("Johannes Thumshirn <[email protected]>");
  MODULE_DESCRIPTION("Watchdog driver for the MEN z069 IP-Core");
  MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("mcb:16z069");
  MODULE_IMPORT_NS("MCB");