regmap: Implement managed regmap_init()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 30 Jan 2012 19:56:52 +0000 (19:56 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 30 Jan 2012 21:06:43 +0000 (21:06 +0000)
commitc0eb46766d395da8d62148bda2e59bad5e6ee2f2
tree9b808ba04041f4f10d08b384b4ad8c608a86df4c
parent567e47935a7cddd8e823c73bb8ee0b2805cd4940
regmap: Implement managed regmap_init()

Save error handling and unwinding code in drivers by providing managed
versions of the regmap init functions, simplifying usage.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/regmap-i2c.c
drivers/base/regmap/regmap-spi.c
drivers/base/regmap/regmap.c
include/linux/regmap.h