UPSTREAM: drm: Introduce drm_connector_register_all() helper
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Tue, 19 Apr 2016 12:24:51 +0000 (15:24 +0300)
committerMark Yao <mark.yao@rock-chips.com>
Tue, 3 Jan 2017 01:16:40 +0000 (09:16 +0800)
commit637d7a2ac575934d85c9e58f413c7e86cf2a39d7
tree6f88cdc13324a453ed56916973c11b637349f20c
parentf648a59de02c9acc99c1e23991bfbe49f8b31b49
UPSTREAM: drm: Introduce drm_connector_register_all() helper

As a pair to already existing drm_connector_unregister_all() we're adding
generic implementation of what is already done in some drivers.

Once this helper is implemented we'll be ready to switch existing
driver-specific implementations with the generic one.

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>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1461068693-11260-2-git-send-email-abrodkin@synopsys.com
(cherry-pick from commit 54d2c2da0946368b96b63e6daed7920f3681243e)

Change-Id: Ibfeeebe5d02b77b9a670f7c303417a8d20677376
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_drv.c
include/drm/drm_crtc.h