summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2019-07-25 14:55:30 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2019-07-25 14:55:29 -0700
commit5744bfc669c2e92fa04fff34e1c38702e03affd8 (patch)
tree410e240828df265206a7092da73615e9ddc7e516 /drivers
parentbef923715ee90aba1209b28c3ca9cf523f9537cc (diff)
parent7887be217f95f0c31e06eae4239391b7e9534af4 (diff)
Merge "drm: probe_helper: Hide ugly ifdef"
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/drm_probe_helper.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_probe_helper.c b/drivers/gpu/drm/drm_probe_helper.c
index b7383f53358c..378194f6a28d 100644
--- a/drivers/gpu/drm/drm_probe_helper.c
+++ b/drivers/gpu/drm/drm_probe_helper.c
@@ -205,10 +205,8 @@ static int drm_helper_probe_single_connector_modes_merge_bits(struct drm_connect
count = drm_add_edid_modes(connector, edid);
drm_edid_to_eld(connector, edid);
} else {
-#ifdef CONFIG_DRM_LOAD_EDID_FIRMWARE
count = drm_load_edid_firmware(connector);
if (count == 0)
-#endif
count = (*connector_funcs->get_modes)(connector);
}