regulator: pwm: Add support to have multiple instance of pwm regulator
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 8 Mar 2016 10:53:22 +0000 (16:23 +0530)
committerMark Brown <broonie@kernel.org>
Sat, 12 Mar 2016 06:07:13 +0000 (13:07 +0700)
commitf907a0a9498db29fb7c91b798d7af70add7dd86e
treeece05e36fc965449895699992b9eb10c31b8f17b
parent1aaab34878ac14efede3f0e737b99447745699d1
regulator: pwm: Add support to have multiple instance of pwm regulator

Some of platforms like Nvidia's Tegra210 Jetson-TX1 platform has
multiple PMW based regulators. Add support to have multiple instances
of the driver by not changing any global data of pwm regulator and
if required, making instance specific copy and then making changes.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pwm-regulator.c