drm: Rename drm_connector_unplug_all() to drm_connector_unregister_all()
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Wed, 23 Mar 2016 08:42:54 +0000 (11:42 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 29 Mar 2016 08:14:15 +0000 (10:14 +0200)
commit6c87e5c3ec6db052f3744804a517b6fb003906e1
treece9b0958848517c57e32096343ce78eb9b693d2a
parent11622d4c638ad3dd229e39064d0e5726c4f3b454
drm: Rename drm_connector_unplug_all() to drm_connector_unregister_all()

Current name is a bit misleading because what that helper function
really does it calls drm_connector_unregister() for all connectors.

This all has nothing to do with hotplugging so let's name things
properly.

And while at it remove potentially dangerous locking around
drm_connector_unregister() in rcar_du_remove() as mentioned
in kerneldoc for drm_connector_unregister_all().

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@linux.ie>
Cc: Boris Brezillon <boris.brezillon@free-electrons.com>
Cc: linux-renesas-soc@vger.kernel.org
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1458722577-20283-2-git-send-email-abrodkin@synopsys.com
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/rcar-du/rcar_du_drv.c
drivers/gpu/drm/udl/udl_drv.c
include/drm/drm_crtc.h