diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2018-12-12 21:38:44 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-01-16 13:54:09 +0100 |
commit | 4f821c1002cb236f14d0b4572b0b98fe800178a8 (patch) | |
tree | fa2c2aa1fe8cbe83ca8711818c32953972d22d97 /drivers/iommu/tegra-gart.c | |
parent | Linux 5.0-rc2 (diff) | |
download | linux-4f821c1002cb236f14d0b4572b0b98fe800178a8.tar.xz linux-4f821c1002cb236f14d0b4572b0b98fe800178a8.zip |
iommu/tegra: gart: Remove pr_fmt and clean up includes
Remove unneeded headers inclusion and sort the headers in alphabet order.
Remove pr_fmt macro since there is no pr_*() in the code and it doesn't
affect dev_*() functions.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/tegra-gart.c')
-rw-r--r-- | drivers/iommu/tegra-gart.c | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/drivers/iommu/tegra-gart.c b/drivers/iommu/tegra-gart.c index da6a4e357b2b..ff75cf60117b 100644 --- a/drivers/iommu/tegra-gart.c +++ b/drivers/iommu/tegra-gart.c @@ -19,22 +19,15 @@ * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. */ -#define pr_fmt(fmt) "%s(): " fmt, __func__ - #include <linux/init.h> +#include <linux/io.h> +#include <linux/iommu.h> +#include <linux/list.h> #include <linux/moduleparam.h> -#include <linux/platform_device.h> -#include <linux/spinlock.h> +#include <linux/of_device.h> #include <linux/slab.h> +#include <linux/spinlock.h> #include <linux/vmalloc.h> -#include <linux/mm.h> -#include <linux/list.h> -#include <linux/device.h> -#include <linux/io.h> -#include <linux/iommu.h> -#include <linux/of.h> - -#include <asm/cacheflush.h> /* bitmap of the page sizes currently supported */ #define GART_IOMMU_PGSIZES (SZ_4K) |