Re: [PATCH v2 1/2] driver core: Move the "removable" attribute from USB to core

From: Alan Stern
Date: Sun Apr 25 2021 - 10:59:20 EST


On Fri, Apr 23, 2021 at 07:16:30PM -0700, Rajat Jain wrote:
> Move the "removable" attribute from USB to core in order to allow
> it to be supported by other subsystem / buses. Individual buses
> that want to support this attribute can opt-in by setting the
> supports_removable flag, and then populating the removable property
> of the device while enumerating it. The ABI for the attribute remains
> unchanged.
>
> Signed-off-by: Rajat Jain <rajatja@xxxxxxxxxx>
> ---
> v2: Add documentation

For the parts affecting the USB core:

Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>