summaryrefslogtreecommitdiff
path: root/include/linux/regmap.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-09 05:41:37 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-09 19:26:38 +0400
commit790923e56be795e14eaaeb3305cb4e171cd0a72f (patch)
tree778262685fbb373401a939679190177d92dbe482 /include/linux/regmap.h
parentcb3c2dcfa34072b785cf292ca0b66494496572b9 (diff)
downloadlinux-790923e56be795e14eaaeb3305cb4e171cd0a72f.tar.xz
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 'include/linux/regmap.h')
-rw-r--r--include/linux/regmap.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h
index 4de137bc16a7..20a8fbf19d44 100644
--- a/include/linux/regmap.h
+++ b/include/linux/regmap.h
@@ -60,8 +60,6 @@ typedef int (*regmap_hw_read)(struct device *dev,
/**
* Description of a hardware bus for the register map infrastructure.
*
- * @list: Internal use.
- * @type: Bus type, used to identify bus to be used for a device.
* @write: Write operation.
* @gather_write: Write operation with split register/value, return -ENOTSUPP
* if not implemented on a given device.
@@ -73,8 +71,6 @@ typedef int (*regmap_hw_read)(struct device *dev,
* a read.
*/
struct regmap_bus {
- struct list_head list;
- struct bus_type *type;
regmap_hw_write write;
regmap_hw_gather_write gather_write;
regmap_hw_read read;