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

Michal Simek michal.simek at amd.com
Thu Feb 19 23:54:26 PST 2026



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



More information about the linux-arm-kernel mailing list