aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c-tegra.h
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 /include/linux/i2c-tegra.h
parenti2c: pxa: Use i2c-core to get bus number now (diff)
downloadlinux-dev-49a64ac555f1dabd2b94325553187d0db6ecac16.tar.xz
linux-dev-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 'include/linux/i2c-tegra.h')
-rw-r--r--include/linux/i2c-tegra.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/include/linux/i2c-tegra.h b/include/linux/i2c-tegra.h
deleted file mode 100644
index 9c85da49857a..000000000000
--- a/include/linux/i2c-tegra.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * drivers/i2c/busses/i2c-tegra.c
- *
- * Copyright (C) 2010 Google, Inc.
- * Author: Colin Cross <ccross@android.com>
- *
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- */
-
-#ifndef _LINUX_I2C_TEGRA_H
-#define _LINUX_I2C_TEGRA_H
-
-struct tegra_i2c_platform_data {
- unsigned long bus_clk_rate;
-};
-
-#endif /* _LINUX_I2C_TEGRA_H */