drm/sti: hdmi use of_get_i2c_adapter_by_node interface
authorVladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Mon, 21 Sep 2015 15:51:27 +0000 (18:51 +0300)
committerVincent Abriou <vincent.abriou@st.com>
Tue, 3 Nov 2015 12:04:54 +0000 (13:04 +0100)
commit4d5821a71ce9bed490e5a71987dc03f22e646039
treea8b3fe54d294ffefeaeb9e5a52faa1ab033c14e7
parent807642d731e08f317e9375e2dcbb49eb0de0daa2
drm/sti: hdmi use of_get_i2c_adapter_by_node interface

This change is needed to properly lock I2C bus device and driver,
which serve DDC lines. Without this change I2C bus driver module
may gone in runtime and this won't be noticed by the driver.

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Reviewed-by: Vincent Abriou <vincent.abriou@st.com>
drivers/gpu/drm/sti/sti_hdmi.c