diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-05-27 13:19:58 -0400 |
---|---|---|
committer | Dave Airlie <airlied@gmail.com> | 2013-06-17 05:42:47 -0400 |
commit | fb85ac4da8d202f89e0635e4ac2ac680d662be98 (patch) | |
tree | a6d54a330b8e6198dd7e303f53e98505918af024 /drivers/gpu/drm/udl/udl_modeset.c | |
parent | 04c0c569d4358d0e2f9c78ca9fc0ddeb68ae4872 (diff) |
drm: Drop all the stub gamma_get, gamma_set, load_lut functions from drivers
Many of the drivers didn't implement palette/gamma handling, but were forced
to provide stubs for the hooks to avoid drm_fb_helper from oopsing. Now that
the hooks are optional, we can eliminate all the stubs.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/udl/udl_modeset.c')
-rw-r--r-- | drivers/gpu/drm/udl/udl_modeset.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/udl/udl_modeset.c b/drivers/gpu/drm/udl/udl_modeset.c index e96d2349bd54..2ae1eb7d1635 100644 --- a/drivers/gpu/drm/udl/udl_modeset.c +++ b/drivers/gpu/drm/udl/udl_modeset.c | |||
@@ -363,10 +363,6 @@ static void udl_crtc_destroy(struct drm_crtc *crtc) | |||
363 | kfree(crtc); | 363 | kfree(crtc); |
364 | } | 364 | } |
365 | 365 | ||
366 | static void udl_load_lut(struct drm_crtc *crtc) | ||
367 | { | ||
368 | } | ||
369 | |||
370 | static void udl_crtc_prepare(struct drm_crtc *crtc) | 366 | static void udl_crtc_prepare(struct drm_crtc *crtc) |
371 | { | 367 | { |
372 | } | 368 | } |
@@ -383,7 +379,6 @@ static struct drm_crtc_helper_funcs udl_helper_funcs = { | |||
383 | .prepare = udl_crtc_prepare, | 379 | .prepare = udl_crtc_prepare, |
384 | .commit = udl_crtc_commit, | 380 | .commit = udl_crtc_commit, |
385 | .disable = udl_crtc_disable, | 381 | .disable = udl_crtc_disable, |
386 | .load_lut = udl_load_lut, | ||
387 | }; | 382 | }; |
388 | 383 | ||
389 | static const struct drm_crtc_funcs udl_crtc_funcs = { | 384 | static const struct drm_crtc_funcs udl_crtc_funcs = { |