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

Chin-Ting Kuo chin-ting_kuo at aspeedtech.com
Thu Nov 6 19:02:49 AEDT 2025


Hi Markus,

> -----Original Message-----
> From: Markus Elfring <Markus.Elfring at web.de>
> 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


More information about the openbmc mailing list