summaryrefslogtreecommitdiff
path: root/arch/mips/mti-sead3/sead3-i2c.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2015-03-29 23:09:02 +0300
committerRalf Baechle <ralf@linux-mips.org>2015-04-01 18:22:08 +0300
commit4c9164b9f77cebe715db18f179329c48b95243bb (patch)
tree70dd048e7ca7627bdd83725b3fed299c0a230ba2 /arch/mips/mti-sead3/sead3-i2c.c
parent968c94bcd891075ac06dd2f669c557f58a6523fc (diff)
downloadlinux-4c9164b9f77cebe715db18f179329c48b95243bb.tar.xz
MIPS: SEAD3: Nuke remaining I2C bits.
With no I2C driver available, keeping the platform device registration makes no sense just as keeping the code to instantiage the I2C devices. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mti-sead3/sead3-i2c.c')
-rw-r--r--arch/mips/mti-sead3/sead3-i2c.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/arch/mips/mti-sead3/sead3-i2c.c b/arch/mips/mti-sead3/sead3-i2c.c
deleted file mode 100644
index 795ae83894e0..000000000000
--- a/arch/mips/mti-sead3/sead3-i2c.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * This file is subject to the terms and conditions of the GNU General Public
- * License. See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved.
- */
-#include <linux/init.h>
-#include <linux/platform_device.h>
-
-struct resource sead3_i2c_resources[] = {
- {
- .start = 0x805200,
- .end = 0x8053ff,
- .flags = IORESOURCE_MEM,
- },
-};
-
-static struct platform_device sead3_i2c_device = {
- .name = "sead3-i2c",
- .id = 0,
- .num_resources = ARRAY_SIZE(sead3_i2c_resources),
- .resource = sead3_i2c_resources,
-};
-
-static int __init sead3_i2c_init(void)
-{
- return platform_device_register(&sead3_i2c_device);
-}
-
-device_initcall(sead3_i2c_init);