diff options
| author | Douglas Anderson <[email protected]> | 2016-03-07 22:00:53 +0000 |
|---|---|---|
| committer | Mark Yao <[email protected]> | 2016-03-28 06:48:32 +0000 |
| commit | 06b898ec84139b9d5957ec0e275fa0a6a1825df3 (patch) | |
| tree | 7cd0a7c430b86b1544f64c4c4c8f160ad2426f39 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/rockchip: vop: Fix vop crtc cleanup (diff) | |
| download | kernel-06b898ec84139b9d5957ec0e275fa0a6a1825df3.tar.gz kernel-06b898ec84139b9d5957ec0e275fa0a6a1825df3.zip | |
drm/rockchip: dw_hdmi: Don't call platform_set_drvdata()
The Rockchip dw_hdmi driver just called platform_set_drvdata() to get
your hopes up that maybe, somehow, you'd be able to retrieve the 'struct
rockchip_hdmi' from a pointer to the 'struct device'. You can't. When
we call dw_hdmi_bind() the main driver calls dev_set_drvdata(), which
clobbers our setting.
Let's just remove the platform_set_drvdata() to avoid dashing people's
hopes.
Signed-off-by: Douglas Anderson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
