From patchwork Tue Oct 9 08:13:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 148487 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp4604012lji; Tue, 9 Oct 2018 01:13:25 -0700 (PDT) X-Google-Smtp-Source: ACcGV61SOf6NvGGLpfnoksPRXDuSbHr90aLTxYGj00cgQQYBZxQ3dK/fm8CWtxyxXn0c0RLH8IDq X-Received: by 2002:a63:9742:: with SMTP id d2-v6mr7732664pgo.278.1539072805254; Tue, 09 Oct 2018 01:13:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539072805; cv=none; d=google.com; s=arc-20160816; b=QfrXv6tVRANuoqm9yB+yI6emmJMow/uDq24ImR/R13zfH26Nn9kmHPqhvg58A1mPVk LtUQXaMz010gzYTDnUoNyNc49bOkUjeubei9jrQBkKqg6b48f3KsQ4I/Q5uzNUMutwLq vD5wW766kyq8tVOJeJRgTItjxbLNcuDM9uktwTriJ/Rpbs9BJeuxaDkcrSush5JvXgBB k8qY8/N7bh4d6dz+aoSxbaZJtPTcd9iNFX5o1OeB6K+er5Vfu/hib2dh1ldliTjpPQn/ W9u3Pko6lt4ouFJHPWBMh4h911I6Lt3J7RhFQpTWHL1MbPS1YmIZmIyNuVG28Tq2oWJh Doxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=0tlGEReigPX8XFduURGKdy+Lxnz5nqWE37wwYDCbrLg=; b=qE4i3h/M537dQQMR4VhaJNFXo0POVrNhzxbn117TLJ5b15S/9nuesBl8n4iAnKz60v DBJOMVUMvY+SH2E5xt9P10oA/Asx/XvLhGL4Gl57ykTxS2aQ+gxG5lg6T31f9dBGaOMp lhy8WPvcQcmwJe2Dy6tMcH4ZdahssyjKNsB4a2tzYKDyutbB2WEG9gt5ncaFM98kA98z n91Hy8Zopm7oHf2hOdUOXZtID1didD06QXN7xanDCZsk21Ay99B5xqZWa31cYKPooVKb S900I0a8NSVMN4O9e/yrsEz3EyCjCspQBpv2CCGHqIYk44T3Zqjs2brbbyqliNWgydni GVPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OD12otvv; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u127-v6si20608345pgc.234.2018.10.09.01.13.25; Tue, 09 Oct 2018 01:13:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OD12otvv; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725861AbeJIP3H (ORCPT + 5 others); Tue, 9 Oct 2018 11:29:07 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:42616 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725855AbeJIP3H (ORCPT ); Tue, 9 Oct 2018 11:29:07 -0400 Received: by mail-lj1-f193.google.com with SMTP id y71-v6so658049lje.9 for ; Tue, 09 Oct 2018 01:13:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=0tlGEReigPX8XFduURGKdy+Lxnz5nqWE37wwYDCbrLg=; b=OD12otvvX45WMIv7bjjzk6YhEN+V/2risiz80UXrL3pwku8hCOt8Q7nGkazWqiAUJt c/W/pb7xBdoOp+WSOJSZoLymipa7vKgFtwZcJNvK3SdUCo3ttBIjPVyy8o3rWBUr837m w/SeDcLS4x1LoL/ROtx8rP3m61yCNI4tXOQJg= 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; bh=0tlGEReigPX8XFduURGKdy+Lxnz5nqWE37wwYDCbrLg=; b=o81FqVNWg0Fdv9mnYfOs5uMe+ldn8BWWKKH2gom646cMHziFZbw3yGDfbOiQ7w+j1B SEdAqV/6r+KddVN+X3TV3/08d6sjpLQTb03oMy95eC8foC7Wq292u7Ar27xYl5GmFeM8 zBFnmMDPk2FGsq3MnSFL1TmnKKOq/izSaa7uXOGKjQzYx9NDAOiBUJ39/G582B42KmYa iwdNtXyREoTh6dhEHSSyXGHtyhB+6179SV3z/d1augzzpzgM+ePPCCGEDh+yH9cQzm+z n50MdWz6BbP68TAH+Ovg50oZIkX1UhF/OKsbRKyRR3c6pbTPg4wFQNvl5GYbGJcbdaUz wZNg== X-Gm-Message-State: ABuFfohY7Ox6N/z6FXGOmQMv55mib5asD2tOqxA4uDBGCrgvjNpFzb6w Mb+/HIll8chI9GOcNt/R9ANPgFmHrnU= X-Received: by 2002:a2e:1615:: with SMTP id w21-v6mr16914727ljd.33.1539072802073; Tue, 09 Oct 2018 01:13:22 -0700 (PDT) Received: from localhost.bredbandsbolaget (c-ae7b71d5.014-348-6c756e10.bbcust.telenor.se. [213.113.123.174]) by smtp.gmail.com with ESMTPSA id 62-v6sm4200287lfr.38.2018.10.09.01.13.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Oct 2018 01:13:20 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Linus Walleij Subject: [PATCH] pinctrl: gemini: Drop noisy debug prints Date: Tue, 9 Oct 2018 10:13:18 +0200 Message-Id: <20181009081318.26288-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The dev_info() in the pin control driver is really just good for debug, so drop it. Signed-off-by: Linus Walleij --- drivers/pinctrl/pinctrl-gemini.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) -- 2.17.1 diff --git a/drivers/pinctrl/pinctrl-gemini.c b/drivers/pinctrl/pinctrl-gemini.c index 1e484a36ff07..d0b7ab098e6a 100644 --- a/drivers/pinctrl/pinctrl-gemini.c +++ b/drivers/pinctrl/pinctrl-gemini.c @@ -2179,9 +2179,9 @@ static int gemini_pmx_set_mux(struct pinctrl_dev *pctldev, return -ENODEV; } - dev_info(pmx->dev, - "ACTIVATE function \"%s\" with group \"%s\"\n", - func->name, grp->name); + dev_dbg(pmx->dev, + "ACTIVATE function \"%s\" with group \"%s\"\n", + func->name, grp->name); regmap_read(pmx->map, GLOBAL_MISC_CTRL, &before); regmap_update_bits(pmx->map, GLOBAL_MISC_CTRL, @@ -2212,10 +2212,10 @@ static int gemini_pmx_set_mux(struct pinctrl_dev *pctldev, "GLOBAL MISC CTRL before: %08x, after %08x, expected %08x\n", before, after, expected); } else { - dev_info(pmx->dev, - "padgroup %s %s\n", - gemini_padgroups[i], - enabled ? "enabled" : "disabled"); + dev_dbg(pmx->dev, + "padgroup %s %s\n", + gemini_padgroups[i], + enabled ? "enabled" : "disabled"); } } @@ -2234,10 +2234,10 @@ static int gemini_pmx_set_mux(struct pinctrl_dev *pctldev, "GLOBAL MISC CTRL before: %08x, after %08x, expected %08x\n", before, after, expected); } else { - dev_info(pmx->dev, - "padgroup %s %s\n", - gemini_padgroups[i], - enabled ? "enabled" : "disabled"); + dev_dbg(pmx->dev, + "padgroup %s %s\n", + gemini_padgroups[i], + enabled ? "enabled" : "disabled"); } } @@ -2464,9 +2464,9 @@ static int gemini_pinconf_group_set(struct pinctrl_dev *pctldev, regmap_update_bits(pmx->map, GLOBAL_IODRIVE, grp->driving_mask, val); - dev_info(pmx->dev, - "set group %s to %d mA drive strength mask %08x val %08x\n", - grp->name, arg, grp->driving_mask, val); + dev_dbg(pmx->dev, + "set group %s to %d mA drive strength mask %08x val %08x\n", + grp->name, arg, grp->driving_mask, val); break; default: dev_err(pmx->dev, "invalid config param %04x\n", param); @@ -2557,8 +2557,8 @@ static int gemini_pmx_probe(struct platform_device *pdev) /* Print initial state */ tmp = val; for_each_set_bit(i, &tmp, PADS_MAXBIT) { - dev_info(dev, "pad group %s %s\n", gemini_padgroups[i], - (val & BIT(i)) ? "enabled" : "disabled"); + dev_dbg(dev, "pad group %s %s\n", gemini_padgroups[i], + (val & BIT(i)) ? "enabled" : "disabled"); } /* Check if flash pin is set */