extcon: Use the extcon_set_state_sync() instead of deprecated functions
[deliverable/linux.git] / drivers / extcon / extcon-rt8973a.c
index 97e074d70eca21264d0743ae7ebf3e90b4ce228c..174c388739ea8da35105a892b61c12741be4638b 100644 (file)
@@ -398,9 +398,9 @@ static int rt8973a_muic_cable_handler(struct rt8973a_muic_info *info,
                return ret;
 
        /* Change the state of external accessory */
-       extcon_set_cable_state_(info->edev, id, attached);
+       extcon_set_state_sync(info->edev, id, attached);
        if (id == EXTCON_USB)
-               extcon_set_cable_state_(info->edev, EXTCON_CHG_USB_SDP,
+               extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SDP,
                                        attached);
 
        return 0;
This page took 0.024564 seconds and 5 git commands to generate.