]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/imagination: Fix reference to devm_platform_get_and_ioremap_resource()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 29 Oct 2025 15:00:28 +0000 (16:00 +0100)
committerMatt Coster <matt.coster@imgtec.com>
Fri, 31 Oct 2025 14:34:53 +0000 (14:34 +0000)
The call to devm_platform_ioremap_resource() was replaced by a call to
devm_platform_get_and_ioremap_resource(), but the comment referring to
the function's possible returned error codes was not updated.

Fixes: 927f3e0253c11276 ("drm/imagination: Implement MIPS firmware processor and MMU support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Matt Coster <matt.coster@imgtec.com>
Link: https://patch.msgid.link/2266514318480d17f52c7e5e67578dae6827914e.1761745586.git.geert+renesas@glider.be
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
drivers/gpu/drm/imagination/pvr_device.c

index 294b6019b4155bb7fdb7de73ccf7fa8ad867811f..78d6b8a0a4506c809a049ed0b00aadb0484f91ae 100644 (file)
@@ -48,7 +48,7 @@
  *
  * Return:
  *  * 0 on success, or
- *  * Any error returned by devm_platform_ioremap_resource().
+ *  * Any error returned by devm_platform_get_and_ioremap_resource().
  */
 static int
 pvr_device_reg_init(struct pvr_device *pvr_dev)