Re: [PATCH 5/6] cxl/mem: Drop @host argument to devm_cxl_add_memdev()
From: Alison Schofield
Date: Thu Dec 04 2025 - 22:38:34 EST
On Wed, Dec 03, 2025 at 06:21:35PM -0800, Dan Williams wrote:
> In all cases the device that created the 'struct cxl_dev_state' instance is
> also the device to host the devm cleanup of devm_cxl_add_memdev(). This
> simplifies the function prototype, and limits a degree of freedom of the
> API.
>
> Cc: Smita Koralahalli <Smita.KoralahalliChannabasappa@xxxxxxx>
> Cc: Alejandro Lucero <alucerop@xxxxxxx>
> Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>
Reviewed-by: Alison Schofield <alison.schofield@xxxxxxxxx>