gpu: host1x: Cleanup includes
authorThierry Reding <treding@nvidia.com>
Tue, 24 Sep 2013 14:32:47 +0000 (16:32 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 31 Oct 2013 08:20:07 +0000 (09:20 +0100)
Most of the included files are either not required or already included
by some other header file.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/drm/dc.c
drivers/gpu/host1x/drm/drm.c
drivers/gpu/host1x/drm/fb.c
drivers/gpu/host1x/drm/gem.c
drivers/gpu/host1x/drm/gr2d.c
drivers/gpu/host1x/drm/hdmi.c
drivers/gpu/host1x/drm/output.c
drivers/gpu/host1x/drm/rgb.c
drivers/gpu/host1x/hw/debug_hw.c

index c4765b3196c655506c430b73535a90e2049dee75..e11aec779a155b1d3135c9fe8c077f8aeb780339 100644 (file)
@@ -8,11 +8,8 @@
  */
 
 #include <linux/clk.h>
-#include <linux/debugfs.h>
-#include <linux/module.h>
-#include <linux/of.h>
-#include <linux/platform_device.h>
 #include <linux/clk/tegra.h>
+#include <linux/debugfs.h>
 
 #include "host1x_client.h"
 #include "dc.h"
index f5c1db306c18d106d6fc2694dbe804ce6e658bf0..4e503613536bb3b96a9f132c9636ad732b874d70 100644 (file)
@@ -7,16 +7,6 @@
  * published by the Free Software Foundation.
  */
 
-#include <linux/module.h>
-#include <linux/of_address.h>
-#include <linux/of_platform.h>
-
-#include <linux/dma-mapping.h>
-#include <asm/dma-iommu.h>
-
-#include <drm/drm.h>
-#include <drm/drmP.h>
-
 #include "host1x_client.h"
 #include "dev.h"
 #include "drm.h"
index 7dcd7965b4d9aaf8a0a03196e70ac06cfbf6ee2d..1fd4e196b9344ef23bfb5e7ab1fb4f71bf64433d 100644 (file)
@@ -10,8 +10,6 @@
  * published by the Free Software Foundation.
  */
 
-#include <linux/module.h>
-
 #include "drm.h"
 #include "gem.h"
 
index 59623de4ee15f3bf9a186d80481f358397fbf99e..4a21378e5350bf9eb8254831a8e317c9c2bda554 100644 (file)
  * GNU General Public License for more details.
  */
 
-#include <linux/mm.h>
-#include <linux/slab.h>
-#include <linux/mutex.h>
-#include <linux/export.h>
-#include <linux/dma-mapping.h>
-
-#include <drm/drmP.h>
-#include <drm/drm.h>
-
 #include "gem.h"
 
 static inline struct tegra_bo *host1x_to_drm_bo(struct host1x_bo *bo)
index 06507c838d43f0e6c96241eef6ce3b916be72e7b..8d9a10f52d8142bc64033b8a835e71443c2c4986 100644 (file)
@@ -1,8 +1,4 @@
 /*
- * drivers/video/tegra/host/gr2d/gr2d.c
- *
- * Tegra Graphics 2D
- *
  * Copyright (c) 2012-2013, NVIDIA Corporation.
  *
  * This program is free software; you can redistribute it and/or modify it
@@ -18,9 +14,6 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <linux/export.h>
-#include <linux/of.h>
-#include <linux/of_device.h>
 #include <linux/clk.h>
 
 #include "channel.h"
index e7fb9d92cfcbe93fa9ecaf84d7338b8b200da498..5d8c41cf4f58ebc6d29abecb4ffad81af4d1dfaa 100644 (file)
@@ -8,16 +8,10 @@
  */
 
 #include <linux/clk.h>
+#include <linux/clk/tegra.h>
 #include <linux/debugfs.h>
-#include <linux/gpio.h>
 #include <linux/hdmi.h>
-#include <linux/module.h>
-#include <linux/of.h>
-#include <linux/platform_device.h>
 #include <linux/regulator/consumer.h>
-#include <linux/clk/tegra.h>
-
-#include <drm/drm_edid.h>
 
 #include "hdmi.h"
 #include "drm.h"
index 137ae81ab80eb164d139742b16996bca8b8922b5..8f40fa646cecaa76104e8767bb4adde52ab9d00a 100644 (file)
@@ -7,9 +7,7 @@
  * published by the Free Software Foundation.
  */
 
-#include <linux/module.h>
 #include <linux/of_gpio.h>
-#include <linux/i2c.h>
 
 #include "drm.h"
 
index 5aa66ef7a946f8b1c25a4241cf39f76dad9e91b7..e4d28411973dfa8a03ec5c2e64b29de43e379944 100644 (file)
@@ -8,9 +8,6 @@
  */
 
 #include <linux/clk.h>
-#include <linux/module.h>
-#include <linux/of.h>
-#include <linux/platform_device.h>
 
 #include "drm.h"
 #include "dc.h"
index 334c038052f582cac72c1818d30b3387aa3ae060..dfad663122860b588b7736dadb09f44caf2d5940 100644 (file)
  *
  */
 
-#include <linux/debugfs.h>
-#include <linux/seq_file.h>
-#include <linux/mm.h>
-#include <linux/scatterlist.h>
-
-#include <linux/io.h>
-
 #include "dev.h"
 #include "debug.h"
 #include "cdma.h"