Re: [PATCH v3 11/14] serial: sc16is7xx: use KBUILD_MODNAME
From: Andy Shevchenko
Date: Thu Oct 30 2025 - 06:35:03 EST
On Mon, Oct 27, 2025 at 10:29:53AM -0400, Hugo Villeneuve wrote:
>
> There is no need to redefine the driver name. Use KBUILD_MODNAME and get
> rid of DRV_NAME altogether.
Actually I am slightly against this change. The modname (and hence modalias)
are parts of an ABI (visible via sysfs). Changing the module name (file name
in this case) may inadvertently break this. Yes, it most likely not critical
in this case, but should be taken into account.
--
With Best Regards,
Andy Shevchenko