[PATCH 5.10 025/122] regulator: pwm-regulator: Add validity checks in continuous .get_voltage