Re: [PATCH] fbdev: goldfishfb: use devm_platform_ioremap_resource()
From: Helge Deller
Date: Tue Mar 03 2026 - 09:12:43 EST
On 3/3/26 13:51, Thomas Zimmermann wrote:
Am 03.03.26 um 13:22 schrieb Amin GATTOUT:
Replace the open-coded platform_get_resource() + ioremap() pair with
devm_platform_ioremap_resource(), which requests the memory region and
maps it in a single call, with automatic cleanup on device removal.
Signed-off-by: Amin GATTOUT <amin.gattout@xxxxxxxxx>
Reviewed-by: Thomas Zimmermann <tzimmermann@xxxxxxx>
---
drivers/video/fbdev/goldfishfb.c | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
applied to fbdev git tree.
Thanks!
Helge