Re: [PATCH v2] driver core/ACPI: Introduce companion_bus_register()

From: Danilo Krummrich

Date: Wed Sep 16 2026 - 15:07:52 EST


On 9/9/26 6:41 PM, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>
> The ACPI bus type does not allow drivers to be registered, so the sysfs
> attributes related to drivers created for it and its devices are
> useless, and its drivers/ directory is always empty. All of that is
> confusing and wasteful.
>
> To allow skipping the creation of those sysfs attributes, introduce a
> "companion" bus type concept and add a special registration function for
> registering "companion" bus types, companion_bus_register().
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>


Reviewed-by: Danilo Krummrich <dakr@xxxxxxxxxx>