fbdev: kyro: Use devm_ioremap() for mmio registers
authorGiovanni Di Santi <giovanni.disanti.lkl@gmail.com>
Wed, 9 Jul 2025 09:53:53 +0000 (11:53 +0200)
committerHelge Deller <deller@gmx.de>
Sun, 27 Jul 2025 17:56:51 +0000 (19:56 +0200)
commite0bf12a43243e6afc5a03fc55c58ec48aba48088
treea700de47433c291868e8bf362206286d7396cade
parentb56f93f568dc0214963d9d9d2fd2c992cf241c76
fbdev: kyro: Use devm_ioremap() for mmio registers

Replace the manual ioremap() call for the MMIO registers with the
device-managed devm_ioremap() variant.

This simplifies the driver's resource management by ensuring the memory is
automatically unmapped when the driver detaches from the device.

Signed-off-by: Giovanni Di Santi <giovanni.disanti.lkl@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/kyro/fbdev.c