fbdev: kyro: Use devm_ioremap_wc() for screen mem
authorGiovanni Di Santi <giovanni.disanti.lkl@gmail.com>
Wed, 9 Jul 2025 09:53:54 +0000 (11:53 +0200)
committerHelge Deller <deller@gmx.de>
Sun, 27 Jul 2025 17:56:51 +0000 (19:56 +0200)
commit32dfb6112ea3ca143636832cd34234f2be4830bb
tree3ea85944332c907422fb0ffe43af9017257a9be4
parente0bf12a43243e6afc5a03fc55c58ec48aba48088
fbdev: kyro: Use devm_ioremap_wc() for screen mem

Replace the manual pci_ioremap_wc() call for mapping screen memory with the
device-managed devm_ioremap_wc() 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