[linux-yocto] [PATCH 36/87] mach-axxia/i2c: remove unnecessary code

Paul Butler butler.paul at gmail.com
Mon May 27 09:56:07 PDT 2013


From: Michael Bringmann <michael.bringmann at lsi.com>

Signed-off-by: Michael Bringmann <michael.bringmann at lsi.com>
---
 arch/arm/mach-axxia/i2c.h | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

diff --git a/arch/arm/mach-axxia/i2c.h b/arch/arm/mach-axxia/i2c.h
index cc88104..8e31379 100644
--- a/arch/arm/mach-axxia/i2c.h
+++ b/arch/arm/mach-axxia/i2c.h
@@ -23,23 +23,13 @@
 
 
 /*
- * Minimum number of I2C busses to expect for an AXXIA platform.
- * Runtime checks will determine the actual number of busses that
- * are present depending upon chip type / chip version / etc.
+ * Default bus id to expect for an AXXIA platform.
  */
 #define ARCH_AXXIA_MAX_I2C_BUSSES       1
 #define ARCH_AXXIA_MAX_I2C_BUS_NR       2
 
-/*
- * Maximum byte size of I2C bus name string including null terminator
- */
-#define MAX_AXXIA_I2C_HWMOD_NAME_LEN    16
-
-
-#define AXXIA_I2C_SIZE                  0x0000003f
-#define AXXIA1_I2C_BASE                 0x00000000
-
 
 extern int axxia_register_i2c_busses(void);
 
+
 #endif /* __ASM__ARCH_AXXIA_I2C_H */
-- 
1.8.3




More information about the linux-yocto mailing list