• Douglas Anderson's avatar
    drm/rockchip: dw_hdmi: Don't call platform_set_drvdata() · 06b898ec
    Douglas Anderson authored
    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: default avatarDouglas Anderson <dianders@chromium.org>
    06b898ec
dw_hdmi-rockchip.c 8.06 KB