regmap: Reset device debugfs when reinitialising the cache
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 26 Jan 2012 18:30:16 +0000 (18:30 +0000)
committerDan Willemsen <dwillemsen@nvidia.com>
Wed, 21 Mar 2012 05:31:34 +0000 (22:31 -0700)
commit5c7a4b52326c3bed1ea1ae42669ddb9769a53ea2
treef2695a0f8ef0f4f19b5b13453045f23b4d40a450
parenta2b61e75bfe6aed1a2af2e3b6ecc71985e418c5c
regmap: Reset device debugfs when reinitialising the cache

Most of the data exposed via debugfs is for or from the cache so reset
all the debugfs configuration to make sure everything is up to date with
the latest configuration, especially if we're changing cache type.
cherry-picked from mainline commit
a24f64a648376766497fddd8bc24b1ca5b906431

Change-Id: I9db449602d9c37b22e024bf78a54fd7d09a07638
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/87581

Rebase-Id: R16701e5ad35b839aa899ff66f349f1b9cb59bc3a
drivers/base/regmap/regmap.c