[COMMON] iommu: fix detach_device() condition
authorJanghyuck Kim <janghyuck.kim@samsung.com>
Fri, 27 May 2016 01:14:35 +0000 (10:14 +0900)
committerSangwook Ju <sw.ju@samsung.com>
Mon, 14 May 2018 10:45:21 +0000 (19:45 +0900)
commite6b10b69f33e5072170fb6b0c4907e268a59348c
tree1c3930c4fe4b8ddbc98ea86cbaf6b7570741b185
parent04778aa6fd3800cfdcf4240200ae3101ff14e2ab
[COMMON] iommu: fix detach_device() condition

attach_device() was fixed not to care group condition. So
detach_device() should be changed as same condition.

Change-Id: I300cf0927588dba4d79502e7a5beb07b479396fd
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
drivers/iommu/iommu.c