RE: [PATCH] spi: aspeed: Use devm_iounmap() to unmap devm_ioremap() memory

From: Chin-Ting Kuo

Date: Thu Nov 06 2025 - 03:02:53 EST


Hi Markus,

> -----Original Message-----
> From: Markus Elfring <Markus.Elfring@xxxxxx>
> Sent: Thursday, November 6, 2025 3:02 PM
> Subject: Re: [PATCH] spi: aspeed: Use devm_iounmap() to unmap
> devm_ioremap() memory
>
> > How about change the description to the below one?
> >
> > Use devm_iounmap() to unmap memory mapped with devm_ioremap().
> > This ensures proper cleanup of device-managed resources.
>
> Thus ensure?

Okay, I will update a new version.

Use devm_iounmap() to unmap memory mapped with devm_ioremap().
Thus ensure proper cleanup of device-managed resources.

>
> Regards,
> Markus