drm/tegra: dc: Balance IOMMU group refcounting
authorDmitry Osipenko <digetx@gmail.com>
Thu, 3 May 2018 23:47:19 +0000 (02:47 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 4 May 2018 12:19:14 +0000 (14:19 +0200)
commit6f75b16b2683eb7c86ce2c8d150bf3fa759103b9
treeb2aa244aac84bd4a0a0da23a39f3a439f2e9fbc6
parentb1a3dc0b85bde4d8d549ea3aa31106b599694f37
drm/tegra: dc: Balance IOMMU group refcounting

Remove unneeded iommu_group_get() and add missing iommu_group_put(),
correcting IOMMU group refcount. This is a minor correction / cleanup that
doesn't really fix anything because Tegra's IOMMU driver are built-in and
hence groups refcounting can't hold IOMMU driver from unloading.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c
drivers/gpu/drm/tegra/dc.h