]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/etnaviv: Replace the '&pdev->dev' with 'dev'
authorSui Jingfeng <sui.jingfeng@linux.dev>
Sun, 8 Sep 2024 12:11:07 +0000 (20:11 +0800)
committerLucas Stach <l.stach@pengutronix.de>
Mon, 28 Oct 2024 15:30:15 +0000 (16:30 +0100)
commit72dc70a062f9faea178d674416d72a2596b69633
treea47acb5e3b4e5e3c42ef9ab9c27394c5228ff049
parentdeadf1ef4adce096352489d1ef3721e43fa188bf
drm/etnaviv: Replace the '&pdev->dev' with 'dev'

In the etnaviv_pdev_probe() and etnaviv_gpu_platform_probe() function, the
value of '&pdev->dev' has been cached to the local auto variable 'dev'.
But some callers use 'dev', while the rest use '&pdev->dev'. To keep it
consistent, use 'dev' uniformly.

Tested-by: Christian Gmeiner <cgmeiner@igalia.com>
Signed-off-by: Sui Jingfeng <sui.jingfeng@linux.dev>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_drv.c
drivers/gpu/drm/etnaviv/etnaviv_gpu.c