iommu/tegra: smmu: Use debugfs_create_dir for directory
authorHiroshi Doyu <hdoyu@nvidia.com>
Fri, 14 Sep 2012 16:22:00 +0000 (10:22 -0600)
committerJoerg Roedel <joerg.roedel@amd.com>
Tue, 18 Sep 2012 10:36:38 +0000 (12:36 +0200)
commit5a2c937a8be8c9c5a6d23308b5ee841b6394a1cf
treed38dc60a32b3112d19805cdcecd381f3140a6c80
parent39abf8aa7dfad0badb4741373023cda369aacc8e
iommu/tegra: smmu: Use debugfs_create_dir for directory

The commit c3b1a35 "debugfs: make sure that debugfs_create_file() gets
used only for regulars" doesn't allow to use debugfs_create_file() for
dir. Keep debugfs data in smmu_device instead of directory's i_private.

Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/tegra-smmu.c