diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-12-04 03:45:49 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-12-08 10:07:54 -0500 |
commit | fee6fdfa69396da33bb8a816b36150afcbe9d1a0 (patch) | |
tree | ea5f4e1a536a5aacf7ff5b4dc7a1b7c6b42b7b1e | |
parent | 88548636406c08ef4b3d32d12d1860a216389177 (diff) |
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: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1449218769-16577-9-git-send-email-daniel.vetter@ffwll.ch
Reviewed-by: Thierry Reding <treding@nvidia.com>
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_connector.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.c b/drivers/gpu/drm/nouveau/nouveau_connector.c index 2e7cbe933533..5dd1d0111cac 100644 --- a/drivers/gpu/drm/nouveau/nouveau_connector.c +++ b/drivers/gpu/drm/nouveau/nouveau_connector.c | |||
@@ -898,8 +898,6 @@ nouveau_connector_helper_funcs = { | |||
898 | static const struct drm_connector_funcs | 898 | static const struct drm_connector_funcs |
899 | nouveau_connector_funcs = { | 899 | nouveau_connector_funcs = { |
900 | .dpms = drm_helper_connector_dpms, | 900 | .dpms = drm_helper_connector_dpms, |
901 | .save = NULL, | ||
902 | .restore = NULL, | ||
903 | .detect = nouveau_connector_detect, | 901 | .detect = nouveau_connector_detect, |
904 | .destroy = nouveau_connector_destroy, | 902 | .destroy = nouveau_connector_destroy, |
905 | .fill_modes = drm_helper_probe_single_connector_modes, | 903 | .fill_modes = drm_helper_probe_single_connector_modes, |
@@ -910,8 +908,6 @@ nouveau_connector_funcs = { | |||
910 | static const struct drm_connector_funcs | 908 | static const struct drm_connector_funcs |
911 | nouveau_connector_funcs_lvds = { | 909 | nouveau_connector_funcs_lvds = { |
912 | .dpms = drm_helper_connector_dpms, | 910 | .dpms = drm_helper_connector_dpms, |
913 | .save = NULL, | ||
914 | .restore = NULL, | ||
915 | .detect = nouveau_connector_detect_lvds, | 911 | .detect = nouveau_connector_detect_lvds, |
916 | .destroy = nouveau_connector_destroy, | 912 | .destroy = nouveau_connector_destroy, |
917 | .fill_modes = drm_helper_probe_single_connector_modes, | 913 | .fill_modes = drm_helper_probe_single_connector_modes, |
@@ -944,8 +940,6 @@ nouveau_connector_dp_dpms(struct drm_connector *connector, int mode) | |||
944 | static const struct drm_connector_funcs | 940 | static const struct drm_connector_funcs |
945 | nouveau_connector_funcs_dp = { | 941 | nouveau_connector_funcs_dp = { |
946 | .dpms = nouveau_connector_dp_dpms, | 942 | .dpms = nouveau_connector_dp_dpms, |
947 | .save = NULL, | ||
948 | .restore = NULL, | ||
949 | .detect = nouveau_connector_detect, | 943 | .detect = nouveau_connector_detect, |
950 | .destroy = nouveau_connector_destroy, | 944 | .destroy = nouveau_connector_destroy, |
951 | .fill_modes = drm_helper_probe_single_connector_modes, | 945 | .fill_modes = drm_helper_probe_single_connector_modes, |