regmap: Initialize `map->debugfs' before regcache
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Mon, 11 Mar 2013 17:27:02 +0000 (17:27 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 12 Mar 2013 18:25:10 +0000 (18:25 +0000)
In the rbtree code we are exposing statistics relating to the
number of nodes/registers of the rbtree cache for each of the
devices.  Ensure that `map->debugfs' has been initialized before
we attempt to initialize the debugfs entry for the rbtree cache.

Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org

No differences found