drm/i2c: tda998x: find the drm_device via the drm_connector
authorPeter Rosin <peda@axentia.se>
Thu, 2 Aug 2018 09:25:19 +0000 (10:25 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 2 Aug 2018 09:25:19 +0000 (10:25 +0100)
commitb1eb4f844f8c35e252eebfacacc438644d9f9ba8
tree7cbb9d5e972cc3df58a575246d29e77bb86300f7
parent4da1d4c751c9b1b713c13043bad7c4d27cd1418c
drm/i2c: tda998x: find the drm_device via the drm_connector

This prepares for being a drm_bridge which will not register the
encoder. That makes the connector the better choice.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
drivers/gpu/drm/i2c/tda998x_drv.c