]> git.baikalelectronics.ru Git - kernel.git/commit
drm/lima: Clean up redundant pdev pointer
authorRobin Murphy <robin.murphy@arm.com>
Tue, 21 Apr 2020 22:51:37 +0000 (23:51 +0100)
committerQiang Yu <yuq825@gmail.com>
Fri, 24 Apr 2020 12:47:11 +0000 (20:47 +0800)
commit0815ce46e2550203397cda8d338aabf33381db2a
tree39f3c34d6485fec57c773b779825d4df29878fad
parent63aa7b078cb29a3ee8553e87bcb1ee753c47f150
drm/lima: Clean up redundant pdev pointer

There's no point explicitly tracking the platform device when it can be
trivially derived from the regular device pointer in the couple of
places it's ever used.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/8d9073cc91c10fc70910587fd1794e0e8f32b467.1587509150.git.robin.murphy@arm.com
drivers/gpu/drm/lima/lima_devfreq.c
drivers/gpu/drm/lima/lima_device.c
drivers/gpu/drm/lima/lima_device.h
drivers/gpu/drm/lima/lima_drv.c