Skip to contentSkip to conversation

iio: Remove MODULE_ALIAS from men_z188_adc

PATCH Applied Jose Javier Rodriguez Barbarin 2 participants 3 messages Jan 8 – Jan 11 IIO

lore
Share & tools
lore
#0 lore raw

v2 cover iio: Remove MODULE_ALIAS from men_z188_adc

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_ALIAS on the mcb driver in this subsystem 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):
iio: adc: men_z188_adc: drop unneeded MODULE_ALIAS

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

PATCH v2 1/1 iio: adc: men_z188_adc: 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/iio/adc/men_z188_adc.c | 1 -
 1 file changed, 1 deletion(-)
drivers/iio/adc/men_z188_adc.c +0 -1
index cf8a8c0412ec..90919d282e7b 100644
@@ -171,5 +171,4 @@ module_mcb_driver(men_z188_driver);
 MODULE_AUTHOR("Johannes Thumshirn <[email protected]>");
 MODULE_LICENSE("GPL");
 MODULE_DESCRIPTION("IIO ADC driver for MEN 16z188 ADC Core");
-MODULE_ALIAS("mcb:16z188");
 MODULE_IMPORT_NS("MCB");
Signature · 1 line
2.52.0
maintainer Applied
#2 lore raw

Re: [PATCH v2 1/1] iio: adc: men_z188_adc: drop unneeded MODULE_ALIAS

Quoted 10 lines · On Thu, 8 Jan 2026 14:53:01 +0100 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.

Applied. Thanks,

Jonathan

Quoted 14 lines
---
 drivers/iio/adc/men_z188_adc.c | 1 -
 1 file changed, 1 deletion(-)
drivers/iio/adc/men_z188_adc.c +0 -1
index cf8a8c0412ec..90919d282e7b 100644
@@ -171,5 +171,4 @@ module_mcb_driver(men_z188_driver);
 MODULE_AUTHOR("Johannes Thumshirn <[email protected]>");
 MODULE_LICENSE("GPL");
 MODULE_DESCRIPTION("IIO ADC driver for MEN 16z188 ADC Core");
-MODULE_ALIAS("mcb:16z188");
 MODULE_IMPORT_NS("MCB");