regulator: act8865: Pass of_node via act8865_regulator_data
authorMaarten ter Huurne <maarten@treewalker.org>
Thu, 17 Mar 2016 14:05:07 +0000 (15:05 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 28 Mar 2016 19:34:20 +0000 (12:34 -0700)
commit005e46857ed598bcf76035366cd2841e3b7f8c54
treebf70dfe38230137d5d1c6af3d2da34abf4fcf253
parente6e79fd9cee682b137779d2da3b379251927d99f
regulator: act8865: Pass of_node via act8865_regulator_data

This makes the code easier to read and it avoids a dynamic memory
allocation.

Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/act8865-regulator.c
include/linux/regulator/act8865.h