drm/kms: rip out drm_mode_connector_detach_encoder
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 23 Jan 2014 00:28:49 +0000 (01:28 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 13 Mar 2014 11:48:38 +0000 (12:48 +0100)
commit69fa5293bf8d0ade3fd726848c7af925227e9180
tree11024d9254b2ecdca9c00e97c2584b51aa85c4a6
parente18c04128faa2aa08547f8b73b9ecbf8fd6936af
drm/kms: rip out drm_mode_connector_detach_encoder

It's only used by imx, and that one gets it wrong - there's no need
to deteach the encoder before removing it.

And really, neither current drm modesetting code nor all the userspace
we have can handle dynamic changes in the set of possible encoders for
a given connector. So let's just remove this before someone starts
doing something really nasty with it.

As a plus, one less kerneldoc comment to write.

Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc.c
drivers/staging/imx-drm/imx-ldb.c
drivers/staging/imx-drm/parallel-display.c
include/drm/drm_crtc.h