kernel_optimize_test/drivers/base/regmap
Stephen Warren 0135bbcc7a regmap: introduce explicit bus_context for bus callbacks
The only context needed by I2C and SPI bus definitions is the device
itself; this can be converted to an i2c_client or spi_device in order
to perform IO on the device. However, other bus types may need more
context in order to perform IO. Enable this by having regmap_init accept
a bus_context parameter, and pass this to all bus callbacks. The
existing callbacks simply pass the struct device here. Future bus types
may pass something else.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-04-06 10:47:34 +01:00
..
internal.h regmap: introduce explicit bus_context for bus callbacks 2012-04-06 10:47:34 +01:00
Kconfig
Makefile regmap: Remove indexed cache type 2011-11-20 20:56:34 +00:00
regcache-lzo.c The following text was taken from the original review request: 2012-03-24 10:41:37 -07:00
regcache-rbtree.c The following text was taken from the original review request: 2012-03-24 10:41:37 -07:00
regcache.c The following text was taken from the original review request: 2012-03-24 10:41:37 -07:00
regmap-debugfs.c The following text was taken from the original review request: 2012-03-24 10:41:37 -07:00
regmap-i2c.c regmap: introduce explicit bus_context for bus callbacks 2012-04-06 10:47:34 +01:00
regmap-irq.c device.h: cleanup users outside of linux/include (C files) 2012-03-11 14:27:37 -04:00
regmap-spi.c regmap: introduce explicit bus_context for bus callbacks 2012-04-06 10:47:34 +01:00
regmap.c regmap: introduce explicit bus_context for bus callbacks 2012-04-06 10:47:34 +01:00