diff options
author | Teresa Gámez <t.gamez@phytec.de> | 2013-06-21 14:50:18 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-06-23 20:35:22 +0200 |
commit | f64ed12bb6b5b06bb46fdb6af85cd558b72a1f30 (patch) | |
tree | 80688490b1bc1f8642e487dc37522154d9076402 /arch/arm/mach-omap/omap_devices.c | |
parent | 6ae4cc1931e407a75c832719112588e43f97b0f9 (diff) | |
download | barebox-f64ed12bb6b5b06bb46fdb6af85cd558b72a1f30.tar.gz barebox-f64ed12bb6b5b06bb46fdb6af85cd558b72a1f30.tar.xz |
i2c-omap: Remove cpu_is functions completely
This patch removes the call of the cpu_is_* functions completely
and uses id_tables instead.
Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-omap/omap_devices.c')
-rw-r--r-- | arch/arm/mach-omap/omap_devices.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-omap/omap_devices.c b/arch/arm/mach-omap/omap_devices.c index 056cba541c..30cfdd06b6 100644 --- a/arch/arm/mach-omap/omap_devices.c +++ b/arch/arm/mach-omap/omap_devices.c @@ -24,9 +24,3 @@ struct device_d *omap_add_uart(int id, unsigned long base) return add_ns16550_device(id, base, 1024, IORESOURCE_MEM_8BIT, &serial_plat); } - -struct device_d *omap_add_i2c(int id, unsigned long base, void *pdata) -{ - return add_generic_device("i2c-omap", id, NULL, base, SZ_4K, - IORESOURCE_MEM, pdata); -} |