msm: rpm-regulator: Allow rpm_vreg_set_voltage voltage switch control

Modify the rpm-regulator driver so that rpm_vreg_set_voltage
supports voltage switch type regulators which do not have a
voltage setting.

For these types of regulators make rpm_vreg_set_voltage calls
map as follows:
1. max_uV  > 0 --> vote to enable the voltage switch
2. max_uV == 0 --> vote to disable the voltage switch

This modification is needed so that the acpuclock driver can call
rpm_vreg_set_voltage successfully for a voltage switch on the
APQ8064 platform.

Change-Id: Ibde2ded8fe578cb82e0a3bc28cdf046017583e06
Signed-off-by: David Collins <collinsd@codeaurora.org>
2 files changed