aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/i2c.h')
-rw-r--r--include/linux/i2c.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 233c153b12b1..1ead5195fde4 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -178,13 +178,6 @@ static inline void i2c_set_clientdata (struct i2c_client *dev, void *data)
178 dev_set_drvdata (&dev->dev, data); 178 dev_set_drvdata (&dev->dev, data);
179} 179}
180 180
181#define I2C_DEVNAME(str) .name = str
182
183static inline char *i2c_clientname(struct i2c_client *c)
184{
185 return &c->name[0];
186}
187
188/* 181/*
189 * The following structs are for those who like to implement new bus drivers: 182 * The following structs are for those who like to implement new bus drivers:
190 * i2c_algorithm is the interface to a class of hardware solutions which can 183 * i2c_algorithm is the interface to a class of hardware solutions which can