watchdog: Remove MODULE_ALIAS from menz69_wdt
Subsystems (2)
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
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
@@ -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
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") theMODULE_ALIAS()is redundant as the module alias is now automatically generated from theMODULE_DEVICE_TABLE().Remove the explicit alias.
No functional change intended.
Reviewed-by Jorge Sanjuan Garcia <[email protected]>Signed-off-by Jose Javier Rodriguez Barbarin <[email protected]>
Quoted 14 lines
--- drivers/watchdog/menz69_wdt.c | 1 - 1 file changed, 1 deletion(-)drivers/watchdog/menz69_wdt.c +0
-1@@ -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" );