diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-01-24 23:02:27 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-02-15 00:38:06 +0300 |
commit | 4d23f48486240f6a5a43d1ff81bd44eee128b6a8 (patch) | |
tree | 86ea5617d37a5fa882567e26dc60aa26301c678e /drivers/gpu/drm/drm_edid.c | |
parent | f447dd1fa3f55497b16e6b5e6c7ac89aa8171fac (diff) | |
download | linux-4d23f48486240f6a5a43d1ff81bd44eee128b6a8.tar.xz |
drm/edid: Clear out spurious whitespace
Nuke some whitespace that shouldn't be there.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200124200231.10517-4-ville.syrjala@linux.intel.com
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Diffstat (limited to 'drivers/gpu/drm/drm_edid.c')
-rw-r--r-- | drivers/gpu/drm/drm_edid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index c0d4635c07d5..8ba53472509d 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -2858,7 +2858,7 @@ do_inferred_modes(struct detailed_timing *timing, void *c) closure->modes += drm_dmt_modes_for_range(closure->connector, closure->edid, timing); - + if (!version_greater(closure->edid, 1, 1)) return; /* GTF not defined yet */ @@ -3100,7 +3100,7 @@ do_cvt_mode(struct detailed_timing *timing, void *c) static int add_cvt_modes(struct drm_connector *connector, struct edid *edid) -{ +{ struct detailed_mode_closure closure = { .connector = connector, .edid = edid, @@ -4358,7 +4358,7 @@ void drm_edid_get_monitor_name(struct edid *edid, char *name, int bufsize) { int name_length; char buf[13]; - + if (bufsize <= 0) return; |