extcon-max8997: remove usage of ret in max8997_muic_handle_charger_type_detach