regulator: max77686: initialize of_node param for regulator register
authorAxel Lin <axel.lin@gmail.com>
Sun, 5 Aug 2012 02:09:57 +0000 (10:09 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 28 Aug 2012 18:00:25 +0000 (11:00 -0700)
commit2c58e2669f197ab0fd5e7552fe82f7bc7d06b15d
tree6db6d1abe97eaf4d604badd2e7b127a94fe67b0e
parent7fee2afb5354f4391cbabba5f377c18d1fe50a83
regulator: max77686: initialize of_node param for regulator register

Initialize config.of_node for regulator before registering.
This is needed for DT based regulator support.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/max77686.c
include/linux/mfd/max77686.h