Re: [PATCH] regmap: Initialize `map->debugfs' before regcache

2013-03-12 Thread Mark Brown
On Mon, Mar 11, 2013 at 05:27:02PM +, Dimitris Papastamos wrote: > 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 debu

[PATCH] regmap: Initialize `map->debugfs' before regcache

2013-03-11 Thread Dimitris Papastamos
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 --- dri