]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
regmap: Unexport regcache_write() and regcache_read()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 25 Jan 2012 20:46:53 +0000 (20:46 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 25 Jan 2012 21:20:49 +0000 (21:20 +0000)
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>
drivers/base/regmap/regcache.c

index 1ead66186b7c0a90586f223b0b9bc23d3770a3ed..99beccfad4d7f7892b069ea7f0b75992f3d6c883 100644 (file)
@@ -211,7 +211,6 @@ int regcache_read(struct regmap *map,
 
        return -EINVAL;
 }
-EXPORT_SYMBOL_GPL(regcache_read);
 
 /**
  * regcache_write: Set the value of a given register in the cache.
@@ -238,7 +237,6 @@ int regcache_write(struct regmap *map,
 
        return 0;
 }
-EXPORT_SYMBOL_GPL(regcache_write);
 
 /**
  * regcache_sync: Sync the register cache with the hardware.