summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2013-03-21 08:08:46 +0000
committerWolfram Sang <wsa@the-dreams.de>2013-03-24 10:30:55 +0100
commit49a64ac555f1dabd2b94325553187d0db6ecac16 (patch)
tree460fbc0d904e8169e01c95480e22e9dca41fb03a /arch/arm/mach-tegra
parentfe69c555ef4df4f3c7bc704bc1858c174832a069 (diff)
downloadop-kernel-dev-49a64ac555f1dabd2b94325553187d0db6ecac16.zip
op-kernel-dev-49a64ac555f1dabd2b94325553187d0db6ecac16.tar.gz
i2c: tegra: assume CONFIG_OF, remove platform data
Tegra only supports, and always enables, device tree. Remove all ifdefs and runtime checks for DT support from the driver. Platform data is therefore no longer required. Delete the header that defines it. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r--arch/arm/mach-tegra/board-dt-tegra20.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board-dt-tegra20.c b/arch/arm/mach-tegra/board-dt-tegra20.c
index a0edf25..6e1c9a9 100644
--- a/arch/arm/mach-tegra/board-dt-tegra20.c
+++ b/arch/arm/mach-tegra/board-dt-tegra20.c
@@ -30,8 +30,6 @@
#include <linux/pda_power.h>
#include <linux/platform_data/tegra_usb.h>
#include <linux/io.h>
-#include <linux/i2c.h>
-#include <linux/i2c-tegra.h>
#include <linux/usb/tegra_usb_phy.h>
#include <asm/mach-types.h>
OpenPOWER on IntegriCloud