diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-01-23 16:28:50 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-13 12:48:42 +0100 |
commit | ba0c2422d7cda623acbbcde24542b52c4999bc84 (patch) | |
tree | 5bab0e71b5a6e915347828be669b135e0e4b147c /include | |
parent | 9d3de1389ba970d0d35ce6960774dc046b6dd723 (diff) |
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')
-rw-r--r-- | include/drm/drm_modes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drm/drm_modes.h b/include/drm/drm_modes.h index 2769b05f745..b23628b22cf 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); |