diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-25 07:57:45 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-25 07:57:45 -0400 |
commit | 4e7e2a2008f5d8c49791c412849d5b0232d39bb3 (patch) | |
tree | 32c3fa2d5cefb388689cb795225022769bf7b413 /drivers/base/regmap/regmap-spi.c | |
parent | 8a9ea3237e7eb5c25f09e429ad242ae5a3d5ea22 (diff) | |
parent | 7cccbdc84487616c3dbe493b04bfa1f362f4bc56 (diff) |
Merge branch 'for-linus' of git://opensource.wolfsonmicro.com/regmap
* 'for-linus' of git://opensource.wolfsonmicro.com/regmap: (62 commits)
mfd: Enable rbtree cache for wm831x devices
regmap: Support some block operations on cached devices
regmap: Allow caches for devices with no defaults
regmap: Ensure rbtree syncs registers set to zero properly
regmap: Allow rbtree to cache zero default values
regmap: Warn on raw I/O as well as bulk reads that bypass cache
regmap: Return a sensible error code if we fail to read the cache
regmap: Use bsearch() to search the register defaults
regmap: Fix doc comment
regmap: Optimize the lookup path to use binary search
regmap: Ensure we scream if we enable cache bypass/only at the same time
regmap: Implement regcache_cache_bypass helper function
regmap: Save/restore the bypass state upon syncing
regmap: Lock the sync path, ensure we use the lockless _regmap_write()
regmap: Fix apostrophe usage
regmap: Make _regmap_write() global
regmap: Fix lock used for regcache_cache_only()
regmap: Grab the lock in regcache_cache_only()
regmap: Modify map->cache_bypass directly
regmap: Fix regcache_sync generic implementation
...
Diffstat (limited to 'drivers/base/regmap/regmap-spi.c')
-rw-r--r-- | drivers/base/regmap/regmap-spi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/base/regmap/regmap-spi.c b/drivers/base/regmap/regmap-spi.c index f8396945d6ed..2560658de344 100644 --- a/drivers/base/regmap/regmap-spi.c +++ b/drivers/base/regmap/regmap-spi.c | |||
@@ -48,11 +48,9 @@ static int regmap_spi_read(struct device *dev, | |||
48 | } | 48 | } |
49 | 49 | ||
50 | static struct regmap_bus regmap_spi = { | 50 | static struct regmap_bus regmap_spi = { |
51 | .type = &spi_bus_type, | ||
52 | .write = regmap_spi_write, | 51 | .write = regmap_spi_write, |
53 | .gather_write = regmap_spi_gather_write, | 52 | .gather_write = regmap_spi_gather_write, |
54 | .read = regmap_spi_read, | 53 | .read = regmap_spi_read, |
55 | .owner = THIS_MODULE, | ||
56 | .read_flag_mask = 0x80, | 54 | .read_flag_mask = 0x80, |
57 | }; | 55 | }; |
58 | 56 | ||