Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/imagination: Fix reference to devm_platform_get_and_ioremap_resource()

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>

authored by

Geert Uytterhoeven and committed by
Matt Coster
f1aa9300 75d42e03

+1 -1
+1 -1
drivers/gpu/drm/imagination/pvr_device.c
··· 48 48 * 49 49 * Return: 50 50 * * 0 on success, or 51 - * * Any error returned by devm_platform_ioremap_resource(). 51 + * * Any error returned by devm_platform_get_and_ioremap_resource(). 52 52 */ 53 53 static int 54 54 pvr_device_reg_init(struct pvr_device *pvr_dev)