Re: [PATCH 1/1] device core: Add flag to autoremove device link on supplier unbind

From: Rafael J. Wysocki
Date: Tue Jun 26 2018 - 06:20:44 EST


On Tuesday, June 26, 2018 12:03:44 PM CEST Vivek Gautam wrote:
> On Wed, May 30, 2018 at 6:21 PM, Vivek Gautam
> <vivek.gautam@xxxxxxxxxxxxxx> wrote:
>
> Adding Ulf and Marek for their side of comments.
> In summary, we do not want to not maintain a device link pointer
> when adding a device link in supplier's driver, to delete the link later.
> An autoremove flag from the suppliers side (similar to what we already
> have for consumer side) can help autoremove the device link
> when supplier driver goes away.
>
> Hi Rafael, Lukas,
> Gentle ping. Can you please consider reviewing this patch.

ISTR telling you that I didn't like the DL_FLAG_AUTOREMOVE_S name
as it is too similar to another existing flag. That hasn't changed.

BTW, please CC the patch to linux-pm when you resend it.

Thanks,
Rafael