regmap: debugfs: Factor out initial seek
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 9 Dec 2012 08:20:10 +0000 (17:20 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 10 Dec 2012 16:29:47 +0000 (01:29 +0900)
commitafab2f7b21b042bcbffb1e82f78243382a122d70
tree9e068db9a9be5a3d99b1bb03202537397c2af2a1
parentdb04328c167ff8e7c57f4a3532214aeada3a82fd
regmap: debugfs: Factor out initial seek

In preparation for doing things a bit more quickly than a linear scan
factor out the initial seek from the debugfs register dump.

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