diff options
author | Vincent Abriou <vincent.abriou@st.com> | 2017-02-02 09:51:43 +0100 |
---|---|---|
committer | Vincent Abriou <vincent.abriou@st.com> | 2017-02-10 09:34:39 +0100 |
commit | b7e05db3d1ff1adf45e2c028ea331e3a999fb56b (patch) | |
tree | c7339e0ca5660cc3ce341fef15180cf647966065 /drivers/gpu/drm/sti | |
parent | e9f494d36fc4cab2ba7e9e7f3bb4edf5b214f651 (diff) | |
download | linux-b7e05db3d1ff1adf45e2c028ea331e3a999fb56b.tar.bz2 |
drm/sti: unbind all components while driver cleanup
Unbind all the components when the STI driver is unregistered.
Signed-off-by: Vincent Abriou <vincent.abriou@st.com>
Diffstat (limited to 'drivers/gpu/drm/sti')
-rw-r--r-- | drivers/gpu/drm/sti/sti_drv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sti/sti_drv.c b/drivers/gpu/drm/sti/sti_drv.c index 9e4d96f7dd1c..7cdccb05ee80 100644 --- a/drivers/gpu/drm/sti/sti_drv.c +++ b/drivers/gpu/drm/sti/sti_drv.c @@ -255,6 +255,7 @@ static void sti_cleanup(struct drm_device *ddev) drm_kms_helper_poll_fini(ddev); drm_vblank_cleanup(ddev); + component_unbind_all(ddev->dev, ddev); kfree(private); ddev->dev_private = NULL; } |