iommu/iova: Use rb_entry()
authorGeliang Tang <geliangtang@gmail.com>
Mon, 19 Dec 2016 14:46:58 +0000 (22:46 +0800)
committerJoerg Roedel <jroedel@suse.de>
Wed, 4 Jan 2017 14:35:19 +0000 (15:35 +0100)
commiteba484b51b8c1346759785d40fa4d6ec5590b705
treee7ede74c662acd2a78f58f41517559d51ceef112
parent0c744ea4f77d72b3dcebb7a8f2684633ec79be88
iommu/iova: Use rb_entry()

To make the code clearer, use rb_entry() instead of container_of() to
deal with rbtree.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iova.c