Message ID | 20181125211907.9895-4-otavio@ossystems.com.br (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 981D715A8 for <patchwork-linux-rockchip@patchwork.kernel.org>; Sun, 25 Nov 2018 21:20:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8824E298AC for <patchwork-linux-rockchip@patchwork.kernel.org>; Sun, 25 Nov 2018 21:20:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7BD61298BC; Sun, 25 Nov 2018 21:20:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 586A3298B6 for <patchwork-linux-rockchip@patchwork.kernel.org>; Sun, 25 Nov 2018 21:20:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=j0aOpxoJHNHpNLZ/iN4mtSOMre2HnwTUFCjWHHC8rB0=; b=sgvb4F9TkUTwmz APzdLESE972hDAPGcdRhzF9RqhBzJodIGRvWoNK3c/TCbFWks5p2RZdZf8Ei5ZRKQlmqcTENkMayu xmkv0CXWhuT+BtaMibQRxH8R0ejW4pbVOMfnTwuC6eW85ERe6lHw1gENXXAUksLSMH8rvFkRBKhHV TXsaFLPtcghNHEBnx886hvuEuR3lA+bSy4BgOYFZszLFIbe+xiursptSCL8X7WlZ/dsPTZgiOfMj7 nWGSsqEmPpnR3lU9SJqJhCGJBBdtmDY51ipTbr25ek38vOLRuCTkAxMudK9frShYSDztQsNnpLw1Y B49V4NV3Yhw3jbQHwHnQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1pJ-0004vl-68; Sun, 25 Nov 2018 21:20:25 +0000 Received: from mail-qt1-f196.google.com ([209.85.160.196]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1ok-000384-HL; Sun, 25 Nov 2018 21:19:55 +0000 Received: by mail-qt1-f196.google.com with SMTP id r14so15491459qtp.1; Sun, 25 Nov 2018 13:19:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:organization:content-transfer-encoding; bh=C6R+qDyqlpWn0q3ocsfJiX9fqgAizmAInnj+rDl9fvk=; b=rd1aRQ8QY+VWAtG6QtSDj7cXLt/duculK26fFdvTMWmZ81ywvn+onI3k1mpgCI/MXF sI+9psf3IixiSSChXMMUzBqBNYd1UZINgMbFe27v1Rbt379RH5t9/+FRkvFFubRVDjRh bJG9AWO7+QRi4kWIhpJVsjB07uWOC9dEMOvK/mT+UHWwjXSqBltbuk4sqbiLU2+Oq28w bVaM393N9G3FoXZIfV5dl9liJ+s4mS6ogcqKLk69xk6LurCHZM9UfYiCLwSx65TS+9wi ctDGAX2d3R5SW8NumsaFJsG1XFTGGh85/4i+TFoqFVUN9Zx0ZTNhSeDy+O38RD6raaqk qVAg== X-Gm-Message-State: AA+aEWZ5OmfH9ZXuiOaT2YgnZoRfZnXVVHpYNKtCbsQbtZAZ8aIWF2D/ FzbuABWe6zCgDHvuSRJShaQ= X-Google-Smtp-Source: AFSGD/WD7ZEFHung7/AsWCHqTvU5aRTsdWLTHpaQ1r/9X7BfKwotFk3IVLfvvNVJZzpEoiHoE7PPMQ== X-Received: by 2002:a0c:89b4:: with SMTP id 49mr23454409qvr.85.1543180779340; Sun, 25 Nov 2018 13:19:39 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id a54sm25897391qtc.17.2018.11.25.13.19.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Nov 2018 13:19:38 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Sun, 25 Nov 2018 19:19:32 -0200 From: Otavio Salvador <otavio@ossystems.com.br> To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 04/13] net: stmmac: dwmac-rk: Do not print redundant error message Date: Sun, 25 Nov 2018 19:18:58 -0200 Message-Id: <20181125211907.9895-4-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181125211907.9895-1-otavio@ossystems.com.br> References: <20181125211907.9895-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181125_131950_844567_5C117D2F X-CRM114-Status: GOOD ( 12.64 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms <linux-rockchip.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-rockchip/> List-Post: <mailto:linux-rockchip@lists.infradead.org> List-Help: <mailto:linux-rockchip-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=subscribe> Cc: Fabio Berton <fabio.berton@ossystems.com.br>, Alexandre Torgue <alexandre.torgue@st.com>, Otavio Salvador <otavio@ossystems.com.br>, netdev@vger.kernel.org, "David S. Miller" <davem@davemloft.net>, Jose Abreu <joabreu@synopsys.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Giuseppe Cavallaro <peppe.cavallaro@st.com>, linux-stm32@st-md-mailman.stormreply.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" <linux-rockchip-bounces@lists.infradead.org> Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
[01/13] ARM: multi_v7_defconfig: Select PHY_ROCKCHIP_INNO_USB2
|
expand
|
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c index 73855622445b..c895a9a6939a 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c @@ -1203,10 +1203,8 @@ static int phy_power_on(struct rk_priv_data *bsp_priv, bool enable) int ret; struct device *dev = &bsp_priv->pdev->dev; - if (!ldo) { - dev_err(dev, "no regulator found\n"); + if (!ldo) return 0; - } if (enable) { ret = regulator_enable(ldo);