Re: [PATCH 0/2] driver: core: Allow drivers to opt out of driver_override

From: Uwe Kleine-König

Date: Fri Nov 20 2026 - 11:23:51 EST


Hello Thierry,

On Tue, Sep 22, 2026 at 01:38:27PM +0200, Thierry Reding wrote:
> Overriding the driver to bind to may not make sense for some drivers.
> One example of this is platform drivers that use device data obtained
> through device ID matching (such as OF or ACPI) and they cannot work
> without that device data.
>
> Usually the device ID matching is the only way that such drivers can
> match against a device, so drivers shouldn't need to check that their
> device data is valid. For such drivers, driver_override is the only
> corner case that can lead to a case where no device data is found.
> Instead of requiring each and every driver to handle this case, move
> handling into the core and let drivers opt out of this override
> mechanism if it doesn't make any sense for them.
>
> Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>

https://lore.kernel.org/all/cover.1795171088.git.u.kleine-koenig@xxxxxxxxxxxx/
is the more promising approach that doesn't require each driver to
opt-out of force-binding, so I'm discarding this series from my patch
queue.

Thanks
Uwe

Attachment: signature.asc
Description: PGP signature