Message ID | 1413566234-13537-41-git-send-email-balbi@ti.com |
---|---|
State | Accepted |
Commit | aa10c7b00eff826bceee2b9f9cd005efc028d881 |
Headers | show
Return-Path: <patchwork-forward+bncBC5M7T4HYEKRB246QWRAKGQEJRNWNDA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 25B73202DB for <linaro@patches.linaro.org>; Fri, 17 Oct 2014 17:18:36 +0000 (UTC) Received: by mail-wi0-f199.google.com with SMTP id d1sf801408wiv.2 for <linaro@patches.linaro.org>; Fri, 17 Oct 2014 10:18:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=6XLO0AHzU/9etx8ccEBtAEwroHyszHzJRRrveB90HVM=; b=fymERvrhoO3O6hHU6mZQKumdg6Xfs2gPixem8kkymI94rqbg+o1oPqhq1G9BS5zUdN MvP0TftmrkktAvGnNDWpQLhCUcbf9gPkThr66yt6wUMrNSxhed2eNYNmOl892WlhFedX R0WXFQhWQTL/8UsvX+M7meBd0pTxomIqXGOTcjWSvq7A4R+O08w7DQMDtpzaawL2nWty hx5iYNL0xwmB96tyg0u9sgkAmILc3Hr2xtFVVyTVNLKoRLOi2sgjkoXujaTXpNq94NDP EjtCHRCqnXWOWZ4JQOT8Boy9YppfS53YgWQjQNDnWkOSlKuFck2zGWhdu43R+GL0pMXm gPug== X-Gm-Message-State: ALoCoQkyW4CDqeXX1w3BsIKCflqYfnvIYu7RDQjcQ7Jbcysy9IenZse7iFqXzNEINqR1UqhIWXal X-Received: by 10.112.62.226 with SMTP id b2mr1607133lbs.0.1413566315289; Fri, 17 Oct 2014 10:18:35 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.206.8 with SMTP id lk8ls242713lac.17.gmail; Fri, 17 Oct 2014 10:18:35 -0700 (PDT) X-Received: by 10.153.5.33 with SMTP id cj1mr10391096lad.36.1413566315177; Fri, 17 Oct 2014 10:18:35 -0700 (PDT) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id o8si3004976lbc.59.2014.10.17.10.18.35 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Oct 2014 10:18:35 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by mail-lb0-f179.google.com with SMTP id l4so1038031lbv.38 for <patchwork-forward@linaro.org>; Fri, 17 Oct 2014 10:18:35 -0700 (PDT) X-Received: by 10.152.202.135 with SMTP id ki7mr10329333lac.40.1413566315080; Fri, 17 Oct 2014 10:18:35 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp268129lbz; Fri, 17 Oct 2014 10:18:34 -0700 (PDT) X-Received: by 10.66.255.36 with SMTP id an4mr10066194pad.15.1413566312572; Fri, 17 Oct 2014 10:18:32 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id sn3si1594984pbc.175.2014.10.17.10.18.31 for <multiple recipients>; Fri, 17 Oct 2014 10:18:32 -0700 (PDT) Received-SPF: none (google.com: linux-usb-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753698AbaJQRSX (ORCPT <rfc822;amit.pundir@linaro.org> + 3 others); Fri, 17 Oct 2014 13:18:23 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:44371 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753672AbaJQRSP (ORCPT <rfc822;linux-usb@vger.kernel.org>); Fri, 17 Oct 2014 13:18:15 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s9HHI7KD008066; Fri, 17 Oct 2014 12:18:07 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9HHI7mD001158; Fri, 17 Oct 2014 12:18:07 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Fri, 17 Oct 2014 12:18:07 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9HHI6YK031181; Fri, 17 Oct 2014 12:18:07 -0500 From: Felipe Balbi <balbi@ti.com> To: Linux USB Mailing List <linux-usb@vger.kernel.org> CC: Greg KH <gregkh@linuxfoundation.org>, <m.szyprowski@samsung.com>, Paul Zimmerman <paul.zimmerman@synopsys.com>, <daniel@zonque.org>, <leoli@freescale.com>, <andrzej.p@samsung.com>, <r.baldyga@samsung.com>, <mina86@mina86.com>, <Peter.Chen@freescale.com>, Peter Chen <peter.chen@freescale.com>, Felipe Balbi <balbi@ti.com> Subject: [PATCH 40/67] usb: phy: phy-mv-usb: delete unnecessary 'out of memory' messages Date: Fri, 17 Oct 2014 12:16:47 -0500 Message-ID: <1413566234-13537-41-git-send-email-balbi@ti.com> X-Mailer: git-send-email 2.1.0.GIT In-Reply-To: <1413566234-13537-1-git-send-email-balbi@ti.com> References: <1413566234-13537-1-git-send-email-balbi@ti.com> MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-usb@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: balbi@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> Content-Type: text/plain |
diff --git a/drivers/usb/phy/phy-mv-usb.c b/drivers/usb/phy/phy-mv-usb.c index 7d80c54..c9517d8 100644 --- a/drivers/usb/phy/phy-mv-usb.c +++ b/drivers/usb/phy/phy-mv-usb.c @@ -686,10 +686,8 @@ static int mv_otg_probe(struct platform_device *pdev) } mvotg = devm_kzalloc(&pdev->dev, sizeof(*mvotg), GFP_KERNEL); - if (!mvotg) { - dev_err(&pdev->dev, "failed to allocate memory!\n"); + if (!mvotg) return -ENOMEM; - } otg = devm_kzalloc(&pdev->dev, sizeof(*otg), GFP_KERNEL); if (!otg)