[PATCH 6.7 040/334] regulator: pwm-regulator: Add validity checks in continuous .get_voltage