This series converts all media cec adapter drivers to use cec_notifier_cec_adap_(un)register instead of cec_notifier_get(_conn), cec_notifier_put and cec_register_cec_notifier. Also enable the CEC_CAP_CONNECTOR_INFO capability. The CEC_CAP_CONNECTOR_INFO capability is not yet exposed, that will be done later in a separate patch series that also implements the new CEC_ADAP_G_CONNECTOR_INFO ioctl. Once all the drm and media cec drivers stop using cec_notifier_get(_conn), cec_notifier_put and cec_register_cec_notifier those functions can be deleted from the CEC core. These functions are blocking the development of more advanced CEC features such as multiple CEC adapters per HDMI connector (one for use when in standby, one for use when powered up). Regards, Hans Hans Verkuil (6): meson/ao-cec: use cec_notifier_cec_adap_(un)register cros-ec-cec: use cec_notifier_cec_adap_(un)register seco-cec: use cec_notifier_cec_adap_(un)register s5p-cec: use cec_notifier_cec_adap_(un)register stih-cec: use cec_notifier_cec_adap_(un)register tegra-cec: use cec_notifier_cec_adap_(un)register .../media/platform/cros-ec-cec/cros-ec-cec.c | 68 +++++++++++-------- drivers/media/platform/meson/ao-cec-g12a.c | 48 +++++++------ drivers/media/platform/meson/ao-cec.c | 44 ++++++------ drivers/media/platform/s5p-cec/s5p_cec.c | 23 ++++--- drivers/media/platform/seco-cec/seco-cec.c | 55 ++++++++------- drivers/media/platform/sti/cec/stih-cec.c | 32 +++++---- drivers/media/platform/tegra-cec/tegra_cec.c | 35 +++++----- 7 files changed, 162 insertions(+), 143 deletions(-) -- 2.20.1