regmap: Add functions to check for access on registers
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 10 Aug 2011 08:14:41 +0000 (17:14 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 14 Aug 2011 10:51:11 +0000 (19:51 +0900)
commit8de2f081ef8ee716663f916df9f2a7d015fa0dad
tree74319c3c14525f063754faab80406416b4a9f1dc
parent13c54137f7896928ced8e97708d409fa39c09e00
regmap: Add functions to check for access on registers

We're going to be using these in quite a few places so factor out the
readable/writable/volatile/precious checks.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/internal.h
drivers/base/regmap/regmap-debugfs.c
drivers/base/regmap/regmap.c