Commit fee6fdfa authored by Daniel Vetter's avatar Daniel Vetter

drm/nouveau: Ditch NULL save/restore hook assignments

gcc does this for us, and these hooks will be gone soon.

Cc: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1449218769-16577-9-git-send-email-daniel.vetter@ffwll.chReviewed-by: default avatarThierry Reding <treding@nvidia.com>
parent 88548636
...@@ -898,8 +898,6 @@ nouveau_connector_helper_funcs = { ...@@ -898,8 +898,6 @@ nouveau_connector_helper_funcs = {
static const struct drm_connector_funcs static const struct drm_connector_funcs
nouveau_connector_funcs = { nouveau_connector_funcs = {
.dpms = drm_helper_connector_dpms, .dpms = drm_helper_connector_dpms,
.save = NULL,
.restore = NULL,
.detect = nouveau_connector_detect, .detect = nouveau_connector_detect,
.destroy = nouveau_connector_destroy, .destroy = nouveau_connector_destroy,
.fill_modes = drm_helper_probe_single_connector_modes, .fill_modes = drm_helper_probe_single_connector_modes,
...@@ -910,8 +908,6 @@ nouveau_connector_funcs = { ...@@ -910,8 +908,6 @@ nouveau_connector_funcs = {
static const struct drm_connector_funcs static const struct drm_connector_funcs
nouveau_connector_funcs_lvds = { nouveau_connector_funcs_lvds = {
.dpms = drm_helper_connector_dpms, .dpms = drm_helper_connector_dpms,
.save = NULL,
.restore = NULL,
.detect = nouveau_connector_detect_lvds, .detect = nouveau_connector_detect_lvds,
.destroy = nouveau_connector_destroy, .destroy = nouveau_connector_destroy,
.fill_modes = drm_helper_probe_single_connector_modes, .fill_modes = drm_helper_probe_single_connector_modes,
...@@ -944,8 +940,6 @@ nouveau_connector_dp_dpms(struct drm_connector *connector, int mode) ...@@ -944,8 +940,6 @@ nouveau_connector_dp_dpms(struct drm_connector *connector, int mode)
static const struct drm_connector_funcs static const struct drm_connector_funcs
nouveau_connector_funcs_dp = { nouveau_connector_funcs_dp = {
.dpms = nouveau_connector_dp_dpms, .dpms = nouveau_connector_dp_dpms,
.save = NULL,
.restore = NULL,
.detect = nouveau_connector_detect, .detect = nouveau_connector_detect,
.destroy = nouveau_connector_destroy, .destroy = nouveau_connector_destroy,
.fill_modes = drm_helper_probe_single_connector_modes, .fill_modes = drm_helper_probe_single_connector_modes,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment