Re: [PATCH 3/5] iio: adc: xilinx-xadc: Replace module macro with custom init/exit functions

From: Michal Simek

Date: Fri Feb 20 2026 - 02:54:58 EST




On 2/20/26 08:52, Andy Shevchenko wrote:
On Fri, Feb 20, 2026 at 11:09:39AM +0530, Sai Krishna Potthuri wrote:
Replace module_platform_driver() macro with custom init and exit functions
to prepare for supporting multiple bus interfaces (platform + I2C).

No, this is not how it should be done.

And how should it be done? separate file?
M