aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_device.h
diff options
context:
space:
mode:
authorRobin Murphy <[email protected]>2020-04-21 22:51:37 +0000
committerQiang Yu <[email protected]>2020-04-24 12:47:11 +0000
commit2ce216edf2c661fd9d2f5e19ce72fd80c25abc64 (patch)
tree39f3c34d6485fec57c773b779825d4df29878fad /drivers/gpu/drm/lima/lima_device.h
parentdrm/lima: Clean up IRQ warnings (diff)
downloadkernel-2ce216edf2c661fd9d2f5e19ce72fd80c25abc64.tar.gz
kernel-2ce216edf2c661fd9d2f5e19ce72fd80c25abc64.zip
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 <[email protected]> Signed-off-by: Qiang Yu <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/8d9073cc91c10fc70910587fd1794e0e8f32b467.1587509150.git.robin.murphy@arm.com
Diffstat (limited to 'drivers/gpu/drm/lima/lima_device.h')
-rw-r--r--drivers/gpu/drm/lima/lima_device.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/lima/lima_device.h b/drivers/gpu/drm/lima/lima_device.h
index 06fd9636dd72..99b1fb147dad 100644
--- a/drivers/gpu/drm/lima/lima_device.h
+++ b/drivers/gpu/drm/lima/lima_device.h
@@ -76,7 +76,6 @@ enum lima_pipe_id {
struct lima_device {
struct device *dev;
struct drm_device *ddev;
- struct platform_device *pdev;
enum lima_gpu_id id;
u32 gp_version;