[PATCH 5.15 034/245] regulator: pwm-regulator: Add validity checks in continuous .get_voltage