regmap: Allow regmap_bulk_read() to work for "no-bus" regmaps
authorStephen Boyd <sboyd@codeaurora.org>
Fri, 13 Dec 2013 17:14:07 +0000 (09:14 -0800)
committerMark Brown <broonie@linaro.org>
Mon, 16 Dec 2013 20:54:35 +0000 (20:54 +0000)
commit3b58ee13da7510115b66f71c67c9e87b47e9c4aa
tree96cadc0cf8c2152e53e92942ec32233696d28688
parentbd60e381fab88979c3312265d18bb635c314d242
regmap: Allow regmap_bulk_read() to work for "no-bus" regmaps

regmap_bulk_read() should decay to performing individual reads if
we're using a "no-bus" regmap. Unfortunately, it returns an
error because there is no map->bus pointer. Fix it.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/base/regmap/regmap.c