]> git.karo-electronics.de Git - linux-beck.git/commit
drm/imx: don't destroy mode objects manually on driver unbind
authorLucas Stach <l.stach@pengutronix.de>
Thu, 11 Aug 2016 09:18:49 +0000 (11:18 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 29 Aug 2016 10:45:05 +0000 (12:45 +0200)
commit8e3b16e2117409625b89807de3912ff773aea354
treeee329ab4e51729eb6403c91e4490c5e4fd392c15
parent54db5decce17b3258475a011a00b9c5c51c57a35
drm/imx: don't destroy mode objects manually on driver unbind

Instead let drm_mode_config_cleanup() do the work when taking down
the master device. This requires all cleanup functions to be
properly hooked up to the mode object .destroy callback.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/bridge/dw-hdmi.c
drivers/gpu/drm/imx/imx-drm-core.c
drivers/gpu/drm/imx/imx-ldb.c
drivers/gpu/drm/imx/imx-tve.c
drivers/gpu/drm/imx/ipuv3-crtc.c
drivers/gpu/drm/imx/parallel-display.c