summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2020-09-18 04:13:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-07 09:00:07 +0300
commit543db1d99b0993d891acd91f667202fa17140e51 (patch)
tree58635d6c9352bd3a27393cc91a93d7dfe8b67186 /drivers/i2c
parenta84da5ea38334ff79c13259b7aa5cf50ed52aa67 (diff)
downloadlinux-543db1d99b0993d891acd91f667202fa17140e51.tar.xz
iommu/exynos: add missing put_device() call in exynos_iommu_of_xlate()
[ Upstream commit 1a26044954a6d1f4d375d5e62392446af663be7a ] if of_find_device_by_node() succeed, exynos_iommu_of_xlate() doesn't have a corresponding put_device(). Thus add put_device() to fix the exception handling for this function implementation. Fixes: aa759fd376fb ("iommu/exynos: Add callback for initializing devices from device tree") Signed-off-by: Yu Kuai <yukuai3@huawei.com> Acked-by: Marek Szyprowski <m.szyprowski@samsung.com> Link: https://lore.kernel.org/r/20200918011335.909141-1-yukuai3@huawei.com Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions