Re: [PATCH 5/6] cxl/mem: Drop @host argument to devm_cxl_add_memdev()

From: Cheatham, Benjamin

Date: Thu Dec 04 2025 - 14:10:06 EST


On 12/3/2025 8:21 PM, 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: Ben Cheatham <benjamin.cheatham@xxxxxxx>