[PATCH 12/12] driver core: remove driver_set_override()
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Tue Mar 24 19:09:28 AEDT 2026
On Tue, Mar 24, 2026 at 01:59:16AM +0100, Danilo Krummrich wrote:
> All buses have been converted from driver_set_override() to the generic
> driver_override infrastructure introduced in commit cb3d1049f4ea
> ("driver core: generalize driver_override in struct device").
>
> Buses now either opt into the generic sysfs callbacks via the
> bus_type::driver_override flag, or use device_set_driver_override() /
> __device_set_driver_override() directly.
>
> Thus, remove the now-unused driver_set_override() helper.
>
> Link: https://bugzilla.kernel.org/show_bug.cgi?id=220789
> Signed-off-by: Danilo Krummrich <dakr at kernel.org>
> ---
> drivers/base/driver.c | 75 -----------------------------------
> include/linux/device/driver.h | 2 -
> 2 files changed, 77 deletions(-)
Reviewed-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
More information about the Linuxppc-dev
mailing list