Skip to content

Commit

Permalink
regmap: Unexport regcache_write() and regcache_read()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown committed Jan 25, 2012
1 parent 82159ba commit 7e53b19
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/base/regmap/regcache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down

0 comments on commit 7e53b19

Please sign in to comment.