diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-25 15:46:53 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-25 16:20:49 -0500 |
commit | 7e53b195e412a813e915843adc7e4d91868e8e94 (patch) | |
tree | 894a83b52939e7e67b7e29a54aef2ab1ad4d1e0b /drivers/base/regmap | |
parent | 82159ba8e6ef8c38e3e0452d90b4ff8da9e4b2c1 (diff) |
regmap: Unexport regcache_write() and regcache_read()
They have no current users which is fortunate as they don't take the lock
and therefore aren't safe to use externally. We'll need to add new
operations if direct cache access is needed.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base/regmap')
-rw-r--r-- | drivers/base/regmap/regcache.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/base/regmap/regcache.c b/drivers/base/regmap/regcache.c index 1ead66186b7c..99beccfad4d7 100644 --- a/drivers/base/regmap/regcache.c +++ b/drivers/base/regmap/regcache.c | |||
@@ -211,7 +211,6 @@ int regcache_read(struct regmap *map, | |||
211 | 211 | ||
212 | return -EINVAL; | 212 | return -EINVAL; |
213 | } | 213 | } |
214 | EXPORT_SYMBOL_GPL(regcache_read); | ||
215 | 214 | ||
216 | /** | 215 | /** |
217 | * regcache_write: Set the value of a given register in the cache. | 216 | * regcache_write: Set the value of a given register in the cache. |
@@ -238,7 +237,6 @@ int regcache_write(struct regmap *map, | |||
238 | 237 | ||
239 | return 0; | 238 | return 0; |
240 | } | 239 | } |
241 | EXPORT_SYMBOL_GPL(regcache_write); | ||
242 | 240 | ||
243 | /** | 241 | /** |
244 | * regcache_sync: Sync the register cache with the hardware. | 242 | * regcache_sync: Sync the register cache with the hardware. |