Re: [PATCH] drm/tilcdc: request and mapp iomem with devres

2023-12-28 Thread jyri . sarha
December 22, 2023 at 1:52 PM, "Philipp Stanner" mailto:pstan...@redhat.com?to=%22Philipp%20Stanner%22%20%3Cpstanner%40redhat.com%3E > wrote: > > tilcdc currently just ioremaps its iomem, without doing the (a bit more > robust) request on the memory first. The devm_ functions provide a handy > wa

[PATCH] drm/tilcdc: request and mapp iomem with devres

2023-12-22 Thread Philipp Stanner
tilcdc currently just ioremaps its iomem, without doing the (a bit more robust) request on the memory first. The devm_ functions provide a handy way to both request and ioremap the memory with automatic cleanup. Replace the manual ioremap with the devm_ version. Suggested-by: Thomas Zimmermann S