]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/bridge: Add a devm_ allocator for panel bridge.
authorEric Anholt <eric@anholt.net>
Tue, 18 Jul 2017 21:05:06 +0000 (14:05 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 26 Jul 2017 19:19:47 +0000 (12:19 -0700)
commit67022227ffb1f588e70deeccc9246ec93e26f980
tree6193b4a857ef06e6b285ed71786ba56bd4e0923d
parent15b4511a4af633dca0762ae5646fdf05f1dea99a
drm/bridge: Add a devm_ allocator for panel bridge.

This will let drivers reduce the error cleanup they need, in
particular the "is_panel_bridge" flag.

v2: Slight cleanup of remove function by Andrzej

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Philippe Cornu <philippe.cornu@st.com>
Tested-by: Philippe Cornu <philippe.cornu@st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170718210510.12229-2-eric@anholt.net
drivers/gpu/drm/bridge/panel.c
include/drm/drm_bridge.h