From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fugang Duan Subject: [PATCH v3 net,stable 0/2] net: fec: clean up in the cases of probe error Date: Thu, 4 Jan 2018 10:15:27 +0800 Message-ID: <1515032129-7899-1-git-send-email-fugang.duan@nxp.com> Mime-Version: 1.0 Content-Type: text/plain Cc: , , , To: , Return-path: Received: from mail-co1nam03on0078.outbound.protection.outlook.com ([104.47.40.78]:62592 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751867AbeADCTT (ORCPT ); Wed, 3 Jan 2018 21:19:19 -0500 Sender: netdev-owner@vger.kernel.org List-ID: The simple patches just clean up in the cases of probe error like restore dev_id and handle the defer probe when regulator is still not ready. v2: * Fabio Estevam's comment to suggest split v1 to separate patches. v3: * Restore dev_id before failed_ioremap path from Troy Kisky's comment. Fugang Duan (2): net: fec: restore dev_id in the cases of probe error net: fec: defer probe if regulator is not ready drivers/net/ethernet/freescale/fec_main.c | 5 +++++ 1 file changed, 5 insertions(+) -- 1.9.1