regmap: cache: Add warning info for the cache check
authorXiubo Li <lixiubo@cmss.chinamobile.com>
Fri, 11 Dec 2015 03:23:19 +0000 (11:23 +0800)
committerMark Brown <broonie@kernel.org>
Sat, 12 Dec 2015 22:37:06 +0000 (22:37 +0000)
commit8cfe2fd3562ba673435bb2d7a4bb451aabd47809
tree1d90a00102db38f9d94826f10a92c7637e771b8e
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
regmap: cache: Add warning info for the cache check

If there is no cache used for the drivers, the register defaults
or the register defaults raw are not need any more. This patch
will check this and print a warning.

Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regcache.c