diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-08-12 22:48:43 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-08-16 16:30:49 +0200 |
commit | d25bcfb8c2e18b9b36f037f38be4d4792ebf8d57 (patch) | |
tree | 847c310874412d69d20cb3e6d74d3c0df6002695 /scripts | |
parent | f1d1326c99a9dbbfd8bc389f7a8f90a8ef6d8aa9 (diff) | |
download | blackbird-op-linux-d25bcfb8c2e18b9b36f037f38be4d4792ebf8d57.tar.gz blackbird-op-linux-d25bcfb8c2e18b9b36f037f38be4d4792ebf8d57.zip |
drm/hisilicon: Don't set drm_device->platformdev
It's deprecated and only should be used by drivers which still use
drm_platform_init, not by anyone else.
And indeed it's entirely unused and can be nuked.
This required a bit more fudging, but I guess kirin_dc_ops really
wants to operate on the platform_device, not something else. Also
bonus points for implementing abstraction, and then storing the vfunc
in a global variable.
Cc: Xinliang Liu <xinliang.liu@linaro.org>
Cc: Xinwei Kong <kong.kongxinwei@hisilicon.com>
Cc: Archit Taneja <architt@codeaurora.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1471034937-651-7-git-send-email-daniel.vetter@ffwll.ch
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions