From patchwork Sat May 5 10:53:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 135078 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp1089720lji; Sat, 5 May 2018 03:59:08 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq8xjOkZXec37EGA4oAQJfshXdRx4lCcx0N2qmQjSKumBg7st2nEelRGrVLGXOuovZxi/PS X-Received: by 2002:a50:a4f6:: with SMTP id x51-v6mr40160245edb.247.1525517948852; Sat, 05 May 2018 03:59:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525517948; cv=none; d=google.com; s=arc-20160816; b=qLV/rRTG0uvXhyZS6g2UZ28QXujPrn/YX3DC5NU9mR/JicCQfI3d49yP58cd7NPpzz G6zWqkoIzSzjjg3kfgmeCegsyzZeNl1Ydt5e/ixB22pLBqS9mROzXR0uNBtUq/SMwX9c QWXeOF1Rubmh3US0dLuhfbPaOWjfNd/lt47qaR6IZBraZuMcpcw4RMqjrDWw/eu43hQH GvbVbQ//IZ1YT1PBpFhlhN0RopNkpluj46qM/Skb8wggHsjpSeDxODhLVlC9mHAFq0GL JH5Qpl1jL97RRvtPhzzUgZduTJPHcLt1xILasyeAkFLIkB5u9YnLSod6UNu5MsF2AiPe /eyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:dkim-filter:arc-authentication-results; bh=mGMYuzp6LThkenQEpEQEVAhDHFC6DBxCq0cDtthAwF8=; b=bTwTyFql1lPznqs/+P3C9Z9yistG1IUWX1klmBXi1p/Tm0HE+63JGiUij9++POkZB/ SbE/RKoJggLVyxFUlgg8e/mhWWzyTjBUnY+dDcEMCgpBakOllTcR+w3aeZmpUdUpUzby YKx6WCp2i7mPIIe4ZT5zeotQkVAjz1jQnXMZ0KoKVGjjRNi49SHHM+t/yH4XjzwSUQsF to97pnYmW2xKfiS6tFftTTUb7nEiyuzaDRILlyExirVINDm6U1T5WOXf5JyYepraeADK CkrLOorODMUMs5GT4zmkxqNpI6/sgZ1MKGyuMlbSepBY3iAIZ5KZ2Pr0GvKp5IJHQF2p dvUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=cF17IFtT; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id y5-v6si3031106edd.61.2018.05.05.03.59.08; Sat, 05 May 2018 03:59:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=cF17IFtT; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 74019C21F9E; Sat, 5 May 2018 10:55:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 0A30CC21FC4; Sat, 5 May 2018 10:54:21 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 32AF2C21E85; Sat, 5 May 2018 10:54:15 +0000 (UTC) Received: from conuserg-08.nifty.com (conuserg-08.nifty.com [210.131.2.75]) by lists.denx.de (Postfix) with ESMTPS id DD429C21F49 for ; Sat, 5 May 2018 10:54:14 +0000 (UTC) Received: from grover.sesame (FL1-125-199-20-195.osk.mesh.ad.jp [125.199.20.195]) (authenticated) by conuserg-08.nifty.com with ESMTP id w45As4Es023712; Sat, 5 May 2018 19:54:05 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com w45As4Es023712 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1525517645; bh=HUo0Evd5t8v/kUGjFeRCFiurrDe/4lD8hC9l4bS/qgQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cF17IFtTWigERS+nQ4czLLc7+rHndxZDcKSd4XNrdjyyhIj0E76BU+FL0uuXDO7RG eCSpqo/KilkMXs6uhehue95oYF3BFB853olbTEW00cJhFxmrW8KBkVb0+kNdGLflHc 3qZ/M4PjDOyOytm5l31o+30E6eA9iivyuB4HZX9oJLRgFMU2x8Ed65uVV1nmweC8mj hZZNVrl9V+pmZRuaJu/gqLi/guSUvpqd9lGpKZ12XOouXwG9FRuKNSTPnv82nPgD8r ZFYoX6BwUXrdNBvMhLRBROfZRaMK9fzTviFzNtPqDs9Mi17K5cEAtVYv94wzL2mZOL mDDt319aGuZoQ== X-Nifty-SrcIP: [125.199.20.195] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Sat, 5 May 2018 19:53:52 +0900 Message-Id: <1525517637-17603-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1525517637-17603-1-git-send-email-yamada.masahiro@socionext.com> References: <1525517637-17603-1-git-send-email-yamada.masahiro@socionext.com> Subject: [U-Boot] [PATCH 2/7] pinctrl: uniphier: replace printf() with dev_err() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" dev_err() is more suitable for printing error messages. Signed-off-by: Masahiro Yamada --- drivers/pinctrl/uniphier/pinctrl-uniphier-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-core.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-core.c index 215b19e..ac6c82d 100644 --- a/drivers/pinctrl/uniphier/pinctrl-uniphier-core.c +++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-core.c @@ -174,7 +174,7 @@ static int uniphier_pinconf_set_one(struct udevice *dev, unsigned int pin, ret = uniphier_pinconf_input_enable(dev, pin, arg); break; default: - printf("unsupported configuration parameter %u\n", param); + dev_err(dev, "unsupported configuration parameter %u\n", param); return -EINVAL; }