diff options
author | Douglas Anderson <dianders@chromium.org> | 2016-03-07 14:00:54 -0800 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2016-03-31 11:24:28 +0200 |
commit | 1cc9daea2a79720cdd8b13ce97515bf1b2b41939 (patch) | |
tree | 141b85f7352ed218c46ca4285f5e8925122a6202 /drivers/gpu/drm/drm_kms_helper_common.c | |
parent | 788c8ddb4f67e7eb6dec9fa1d9189ff5e736a01b (diff) |
drm/imx: dw_hdmi: Don't call platform_set_drvdata()
The IMX dw_hdmi driver just called platform_set_drvdata() to get
your hopes up that maybe, somehow, you'd be able to retrieve the 'struct
imx_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 <dianders@chromium.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/drm_kms_helper_common.c')
0 files changed, 0 insertions, 0 deletions