regmap: Allow regmap_bulk_write() to work for "no-bus" regmaps
authorStephen Boyd <sboyd@codeaurora.org>
Thu, 26 Dec 2013 21:52:04 +0000 (13:52 -0800)
committerMark Brown <broonie@linaro.org>
Mon, 30 Dec 2013 12:39:20 +0000 (12:39 +0000)
commitf4298360a5c21409e04cd2b0e220c8f8521fd14c
tree5beb02472eb0a3bf30742f69b1c009a75d23ddb0
parent34f653345018c42cedea89b7f6a4aba3783ebd7b
regmap: Allow regmap_bulk_write() to work for "no-bus" regmaps

regmap_bulk_write() should decay to performing individual writes
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