summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-01-23 16:28:50 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-13 12:48:42 +0100
commitba0c2422d7cda623acbbcde24542b52c4999bc84 (patch)
tree5bab0e71b5a6e915347828be669b135e0e4b147c /include/drm
parent9d3de1389ba970d0d35ce6960774dc046b6dd723 (diff)
downloadlinux-ba0c2422d7cda623acbbcde24542b52c4999bc84.tar.gz
linux-ba0c2422d7cda623acbbcde24542b52c4999bc84.tar.bz2
linux-ba0c2422d7cda623acbbcde24542b52c4999bc84.zip
drm/modes: drop return value from drm_display_mode_from_videomode
It never fails and no one ever checked anyway. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_modes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drm/drm_modes.h b/include/drm/drm_modes.h
index 2769b05f7458..b23628b22cff 100644
--- a/include/drm/drm_modes.h
+++ b/include/drm/drm_modes.h
@@ -188,8 +188,8 @@ struct drm_display_mode *drm_gtf_mode_complex(struct drm_device *dev,
int margins,
int GTF_M, int GTF_2C,
int GTF_K, int GTF_2J);
-int drm_display_mode_from_videomode(const struct videomode *vm,
- struct drm_display_mode *dmode);
+void drm_display_mode_from_videomode(const struct videomode *vm,
+ struct drm_display_mode *dmode);
int of_get_drm_display_mode(struct device_node *np,
struct drm_display_mode *dmode,
int index);