regmap: Separate regmap dev initialization
authorMichal Simek <michal.simek@xilinx.com>
Mon, 10 Feb 2014 15:22:33 +0000 (16:22 +0100)
committerMark Brown <broonie@linaro.org>
Sun, 16 Feb 2014 01:53:02 +0000 (09:53 +0800)
commit6cfec04bcc05a829179c02584bb55f28fee03795
tree717d7055a8c0b445856ddfc56b3d6230f4a590d9
parent38dbfb59d1175ef458d006556061adeaa8751b72
regmap: Separate regmap dev initialization

Create special function regmap_attach_dev
which can be called separately out of regmap_init.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/base/regmap/regmap.c
include/linux/regmap.h