extcon: Use the extcon_set_state_sync() instead of deprecated functions
[deliverable/linux.git] / drivers / extcon / extcon-axp288.c
index 04610f8514375343507ff3c69a0f400121e35cfd..42f41e8082924e229d99ceac264549494449b9d3 100644 (file)
@@ -226,7 +226,7 @@ notify_otg:
        }
 
        if (notify_charger)
-               extcon_set_cable_state_(info->edev, cable, vbus_attach);
+               extcon_set_state_sync(info->edev, cable, vbus_attach);
 
        /* Clear the flags on disconnect event */
        if (!vbus_attach)
This page took 0.024997 seconds and 5 git commands to generate.