drm/fsl: don't use drm_put_dev
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 13 Dec 2016 17:54:49 +0000 (18:54 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 13 Dec 2016 21:25:46 +0000 (22:25 +0100)
commitc4085743834cb7dc4bdfb4f9639e28a3bb476585
treeeb5f9d7a589bfab6587a446cd9e706b24c664f6c
parente89e50ac35d9126907a436dabe70f9a8311b9981
drm/fsl: 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.

v2: Rebase.

Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Stefan Agner <stefan@agner.ch>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161213175449.24525-1-daniel.vetter@ffwll.ch
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c