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)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 26 Jan 2012 18:34:49 +0000 (18:34 +0000)
commita24f64a648376766497fddd8bc24b1ca5b906431
treeb06e00797e507aa884b11bbba3f45dd66e5b0b90
parent7e53b195e412a813e915843adc7e4d91868e8e94
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.

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