summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2013-03-21 09:08:46 +0100
committerWolfram Sang <wsa@the-dreams.de>2013-03-24 10:30:55 +0100
commit49a64ac555f1dabd2b94325553187d0db6ecac16 (patch)
tree460fbc0d904e8169e01c95480e22e9dca41fb03a /arch/arm/mach-tegra
parenti2c: pxa: Use i2c-core to get bus number now (diff)
downloadlinux-49a64ac555f1dabd2b94325553187d0db6ecac16.tar.xz
linux-49a64ac555f1dabd2b94325553187d0db6ecac16.zip
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 a0edf2510280..6e1c9a91848f 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>