i2c: removed gpio from context
authorThomas Ingleby <thomas.c.ingleby@intel.com>
Fri, 2 May 2014 12:53:20 +0000 (13:53 +0100)
committerThomas Ingleby <thomas.c.ingleby@intel.com>
Fri, 2 May 2014 12:53:20 +0000 (13:53 +0100)
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
api/i2c.h
src/maa.i

index 89c86c1..843c047 100644 (file)
--- a/api/i2c.h
+++ b/api/i2c.h
@@ -49,7 +49,6 @@ typedef struct {
     int hz; /**< frequency of communication */
     int fh; /**< the file handle to the /dev/i2c-* device */
     int addr; /**< the address of the i2c slave */
-    maa_gpio_context gpio;
     /*@}*/
 } maa_i2c_context;
 
index 8100937..6390e30 100644 (file)
--- a/src/maa.i
+++ b/src/maa.i
@@ -60,7 +60,6 @@ typedef struct {
     int hz; /**< frequency of communication */
     int fh; /**< the file handle to the /dev/i2c-* device */
     int addr; /**< the address of the i2c slave */
-    maa_gpio_context gpio;
     /*@}*/
 } maa_i2c_context;