drm: connector->dpms is not optional
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 4 Dec 2015 08:45:59 +0000 (09:45 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 Dec 2015 15:13:51 +0000 (16:13 +0100)
commit3558c112aa129ca5e4f06a33e9241611f7a9d2c7
tree4a175aad454843e56bffec4fbb1b96a32f24537c
parent6fe14acd496e7ca27d6dfbeaa71b4f16656d10c2
drm: connector->dpms is not optional

We always register the DPMS property, it's really a fundamental
part of a display driver. So don't check whether the vfunc is there,
it's non-optional

Yes I've audited all the almost 100 drm_connector_funcs we have, no
one botched this ;-)

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1449218769-16577-19-git-send-email-daniel.vetter@ffwll.ch
Reviewed-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/drm_crtc.c