]> git.karo-electronics.de Git - linux-beck.git/commit
drm/mediatek: don't use drm_put_dev
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 8 Dec 2016 11:07:38 +0000 (12:07 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 13 Dec 2016 17:12:43 +0000 (18:12 +0100)
commitae9d2daecf086958a41ad216152ec208d70ba325
tree254aa0d7a1aa70053172752e8dad704e9daa3767
parente7e21c72b178e963f3c990cb839d86f568999916
drm/mediatek: don't use drm_put_dev

fsl is already fully demidlayered in the probe function, but for
convenience stuck with drm_put_dev. Call the unregister/unref parts
separately, to make sure this driver works correct.

Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: CK Hu <ck.hu@mediatek.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161208110739.24417-3-daniel.vetter@ffwll.ch
drivers/gpu/drm/mediatek/mtk_drm_drv.c