Skip to contentSkip to conversation

iio: Remove MODULE_ALIAS from men_z188_adc

PATCH RESEND In review Jose Javier Rodriguez Barbarin 2 participants 6 messages Jan 23 – Jan 30 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 RESEND 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
#2 lore raw
In reply to Jose Javier Rodriguez Barbarin

On Fri, 23 Jan 2026 11:48:04 +0100
Jose Javier Rodriguez Barbarin <[email protected]> wrote:

Hi Jose,

When resending the first thing we should see is a clear statement here at the top of the cover letter for why? I applied the previous posted version and not seeing any indication here on why I would consider this one.

Jonathan

Quoted 31 lines

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(-)
#3 lore raw
Quoted 11 lines · Jonathan Cameron

On Fri, 23 Jan 2026 11:48:04 +0100
Jose Javier Rodriguez Barbarin <[email protected]> wrote:

Hi Jose,

When resending the first thing we should see is a clear statement here at the top of the cover letter for why? I applied the previous posted version and not seeing any indication here on why I would consider this one.

Jonathan

Hi Jonathan,

Thanks for your answer. First of all I would like to apologize myself. I just resent the patch because I was not aware the v2 patch was already applied, I came across yesterday while updating my linux-next local copy.

For a reason I cannot understand, I didn't receive your previous answer.

My bad.

Regards,

Javier R.

Quoted 32 lines
Quoted 32 lines

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(-)
maintainer
#4 lore raw
Quoted 13 lines · On Thu, 29 Jan 2026 17:48:54 +0100 Jose Javier Rodriguez Barbarin…
Quoted 11 lines · Jonathan Cameron

On Fri, 23 Jan 2026 11:48:04 +0100
Jose Javier Rodriguez Barbarin <[email protected]> wrote:

Hi Jose,

When resending the first thing we should see is a clear statement here at the top of the cover letter for why? I applied the previous posted version and not seeing any indication here on why I would consider this one.

Jonathan

Quoted 7 lines

Hi Jonathan,

Thanks for your answer. First of all I would like to apologize myself. I just resent the patch because I was not aware the v2 patch was already applied, I came across yesterday while updating my linux-next local copy.

For a reason I cannot understand, I didn't receive your previous answer.

No problem. But a resend is rarely the way to address that unless a rebase is needed (in which case it's a new version anyway!) If it's been quite a long time, just reply to the original thread to ask if it got missed.

Jonathan

Quoted 39 lines

My bad.

Regards,

Javier R.

Quoted 32 lines
Quoted 32 lines

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(-)
#5 lore raw
Quoted 22 lines · Jonathan Cameron
Quoted 19 lines · On Thu, 29 Jan 2026 17:48:54 +0100 Jose Javier Rodriguez Barbarin…
Quoted 11 lines · Jonathan Cameron

On Fri, 23 Jan 2026 11:48:04 +0100
Jose Javier Rodriguez Barbarin <[email protected]> wrote:

Hi Jose,

When resending the first thing we should see is a clear statement here at the top of the cover letter for why? I applied the previous posted version and not seeing any indication here on why I would consider this one.

Jonathan

Hi Jonathan,

Thanks for your answer. First of all I would like to apologize myself. I just resent the patch because I was not aware the v2 patch was already applied, I came across yesterday while updating my linux-next local copy.

Quoted 8 lines
Quoted 1 line

For a reason I cannot understand, I didn't receive your previous answer.

No problem. But a resend is rarely the way to address that unless a rebase is needed (in which case it's a new version anyway!) If it's been quite a long time, just reply to the original thread to ask if it got missed.

Jonathan

Thanks for the info. It is good to know how to proceed in the future.

I've just followed the guideline for submitting patches.

Regards,

Javier R.

Quoted 40 lines
Quoted 39 lines

My bad.

Regards,

Javier R.

Quoted 32 lines
Quoted 32 lines

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(-)