drm: sti: use cec_notifier_conn_(un)register
authorDariusz Marcinkiewicz <darekm@google.com>
Wed, 14 Aug 2019 10:45:04 +0000 (12:45 +0200)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>
Mon, 2 Sep 2019 13:09:13 +0000 (15:09 +0200)
commit536cce149769aee3f0426a9ef87bbd3a3d9a0951
treee0d954b77a4414e3c2005ea97bd6b589db2dd837
parentc41784b042ac9cf97f2e871aceef3e06eff14140
drm: sti: use cec_notifier_conn_(un)register

Use the new cec_notifier_conn_(un)register() functions to
(un)register the notifier for the HDMI connector, and fill
in the cec_connector_info.

Changes since v2:
Don't invalidate physical address before unregistering the
notifier.

Signed-off-by: Dariusz Marcinkiewicz <darekm@google.com>
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190814104520.6001-7-darekm@google.com
drivers/gpu/drm/sti/sti_hdmi.c