summaryrefslogtreecommitdiff
path: root/net/batman-adv
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2017-09-05 15:10:16 +0300
committerArchit Taneja <architt@codeaurora.org>2017-09-16 12:40:17 +0300
commitfcb4c5eee79ea17e1fbc5b3ebbd575d56714fabe (patch)
treefefbb1e9b6f70cb93ed37eb03c314630d37f7947 /net/batman-adv
parent6f39ed4f0939e6bef722f0096894c1a986da9c9a (diff)
downloadlinux-fcb4c5eee79ea17e1fbc5b3ebbd575d56714fabe.tar.xz
drm/bridge: adv7511: Remove private copy of the EDID
The adv7511 driver keeps a private copy of the EDID in its driver state struct. But this copy is only used in adv7511_get_modes() where it is also retrieved, so there is no need to keep this extra copy around. If a need to access the EDID elsewhere in the driver ever arises the copy that is stored in the connector can be used. This copy is accessible through drm_connector_get_edid(). Note, this patch removes the NULL check of the EDID before passing it to drm_detect_hdmi_monitor(), but that is fine since the function correctly handles the case where the EDID is NULL. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Tested-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Archit Taneja <architt@codeaurora.org> Link: https://patchwork.freedesktop.org/patch/msgid/20170905121018.11477-2-lars@metafoo.de
Diffstat (limited to 'net/batman-adv')
0 files changed, 0 insertions, 0 deletions