static void pil_msa_pbl_remove_proxy_votes(struct pil_desc *pil) { struct q6v5_data *drv = container_of(pil, struct q6v5_data, desc); pil_q6v5_remove_proxy_votes(pil); regulator_disable(drv->vreg_mx); regulator_set_voltage(drv->vreg_mx, 0, MAX_VDD_MX_UV); }
void pil_mss_remove_proxy_votes(struct pil_desc *pil) { struct q6v5_data *drv = container_of(pil, struct q6v5_data, desc); pil_q6v5_remove_proxy_votes(pil); regulator_disable(drv->vreg_mx); regulator_set_voltage(drv->vreg_mx, 0, INT_MAX); }