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>
This commit is contained in:
Maarten ter Huurne 2016-03-17 15:05:07 +01:00 • committed by Mark Brown
commit 005e46857e
2 changed files with 14 additions and 16 deletions