diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-08-08 21:41:37 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-08-09 11:26:38 -0400 |
commit | 790923e56be795e14eaaeb3305cb4e171cd0a72f (patch) | |
tree | 778262685fbb373401a939679190177d92dbe482 /drivers/base/regmap/regmap-i2c.c | |
parent | cb3c2dcfa34072b785cf292ca0b66494496572b9 (diff) |
regmap: Remove unused type and list fields from bus interface
We no longer enumerate the bus types, we rely on the driver telling us
this on init.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base/regmap/regmap-i2c.c')
-rw-r--r-- | drivers/base/regmap/regmap-i2c.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/base/regmap/regmap-i2c.c b/drivers/base/regmap/regmap-i2c.c index c2231ff06cbc..e6ce82d0ecd1 100644 --- a/drivers/base/regmap/regmap-i2c.c +++ b/drivers/base/regmap/regmap-i2c.c | |||
@@ -90,7 +90,6 @@ static int regmap_i2c_read(struct device *dev, | |||
90 | } | 90 | } |
91 | 91 | ||
92 | static struct regmap_bus regmap_i2c = { | 92 | static struct regmap_bus regmap_i2c = { |
93 | .type = &i2c_bus_type, | ||
94 | .write = regmap_i2c_write, | 93 | .write = regmap_i2c_write, |
95 | .gather_write = regmap_i2c_gather_write, | 94 | .gather_write = regmap_i2c_gather_write, |
96 | .read = regmap_i2c_read, | 95 | .read = regmap_i2c_read, |