Message ID | 20231121125044.78642-14-angelogioacchino.delregno@collabora.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2b07:b0:403:3b70:6f57 with SMTP id io7csp596038vqb; Tue, 21 Nov 2023 04:55:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IH+vqDZWkU9wijir5A5SSNLXxJ2fhcmxBfB698JO3UXA+YiF+wBv0YncWnTZVcHd+g/X5PH X-Received: by 2002:a17:902:650a:b0:1cf:7439:690c with SMTP id b10-20020a170902650a00b001cf7439690cmr587809plk.11.1700571301306; Tue, 21 Nov 2023 04:55:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700571301; cv=none; d=google.com; s=arc-20160816; b=GWMDy9YO0zexlzpB5VF22BqiTTMF2VYJOc//9oVX1eTHtHcVQzkj5194VhFp5ABpvg oardLQ7/IReNEGiiaA7+Ctpz7yzVIml2qfffzBHj/cVFjWzWzuj4aVPwEl2R3vHj9yxz 5NQIoJ7BHe1L4IEhgllgc1l/sJd3AEmiGDkKjS9zDLuz89qM/OIKpuZV9Nt6QG+Sz1oK DJ+VrajYmC8jegPd1f34jawrR4AVJeTANznquK5N8BpWfnaQUxVvBFHUBG6Y/aHRwHaS qA87+M6ELIECXXRqxkWrVX3DaoOrfb+ouLD55Jx96/o1l+SJBZ6p8ZcenqdfDLkWvOQq oScQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=IAsuYrChTQ+mBfJ8/Sih8DwoRlV6uZI64nyaA9Bhlv4=; fh=m5p6pcg3y47Sg5VKYWXj0f0nOzgFq4l5+GGYwGce+t4=; b=yawxDrgkO/lgHe/kht8hlKAF4ifzj0W9zRlP3G5znwnW/QamOO7yjl2e1x9CbkMEEC btUbbiJvsKmenbV/mT8zbH/rVQ18BivSs9YaeySBA7KAGdp9r9jhjxVk16ZupBEw0kse xhSmajDMU3ix4GPVNAUiBqdO2KSgWR3VzSA3qlF8FTMYOzomSneihBpe/yxSK1/JPGDg jwzlTBZ3Qw493ksIanuK3fmhmu5bVs/bD6EQIvBwrn80PlL1TgN7rkZW/+2CeSE+JKBE mSSOAGX4SXiXBJrAyFshy4JnKtFuyKNG917D061ZUqkrRyenCrwIMZ+8MBTTcJV6Svpu GWRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=nmoGRWIy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id j187-20020a638bc4000000b00578db6172fdsi10258937pge.325.2023.11.21.04.55.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 04:55:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=nmoGRWIy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 2A57280B01ED; Tue, 21 Nov 2023 04:52:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234128AbjKUMvj (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Tue, 21 Nov 2023 07:51:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233887AbjKUMvP (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 21 Nov 2023 07:51:15 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AE2F10CA; Tue, 21 Nov 2023 04:51:05 -0800 (PST) Received: from IcarusMOD.eternityproject.eu (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id F2D156607314; Tue, 21 Nov 2023 12:51:03 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1700571064; bh=8hsTcNhO6pxrVZKfxLeF/xkr1pZ2hVQ5uEBZ0ICc55k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nmoGRWIypByB7QtqvoL5JTa8TqDXOQZ4A0ih7PRveZ8JVpqM0wu53jXz0Z2a6cv74 QWqflMRgdduut4HJGceb4XwQDT2cd7B1yIeQsX7QI8OVmS/N5q6thiWkkvL/22AJNM 2BGzq60E1HV6MURl6nWU+613mgZSj30mNzso7kF1HkYerkfLTb2zVCc6GT10/50yeD X3pfrswRsgGcC+UEOOn39riImoTl9+g4YjySg+aSLLq616R4WkQzLv+xj+j7UxbPxj O3O2c6nOiG0sBSfvLuhptlin8XJznOxILTR5u8RW86F1Nyq+qNSrL8Sh1XsRYIE/GR +608jeQ/2nZ0A== From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> To: matthias.bgg@gmail.com Cc: krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, robh+dt@kernel.org, angelogioacchino.delregno@collabora.com, p.zabel@pengutronix.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com, wenst@chromium.org Subject: [PATCH v3 13/20] soc: mediatek: mtk-svs: Remove redundant print in svs_get_efuse_data Date: Tue, 21 Nov 2023 13:50:37 +0100 Message-ID: <20231121125044.78642-14-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231121125044.78642-1-angelogioacchino.delregno@collabora.com> References: <20231121125044.78642-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 21 Nov 2023 04:52:09 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783178252694921557 X-GMAIL-MSGID: 1783178252694921557 |
Series |
MediaTek SVS driver partial refactoring
|
|
Commit Message
AngeloGioacchino Del Regno
Nov. 21, 2023, 12:50 p.m. UTC
Callers of svs_get_efuse_data() are already printing an error in case
anything goes wrong, and the error print for nvmem_cell_read() failure
is redundant: remove it.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
drivers/soc/mediatek/mtk-svs.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/soc/mediatek/mtk-svs.c b/drivers/soc/mediatek/mtk-svs.c index cd5064683506..5fd9884dd20f 100644 --- a/drivers/soc/mediatek/mtk-svs.c +++ b/drivers/soc/mediatek/mtk-svs.c @@ -1822,8 +1822,6 @@ static int svs_get_efuse_data(struct svs_platform *svsp, *svsp_efuse = nvmem_cell_read(cell, svsp_efuse_max); if (IS_ERR(*svsp_efuse)) { - dev_err(svsp->dev, "cannot read \"%s\" efuse: %ld\n", - nvmem_cell_name, PTR_ERR(*svsp_efuse)); nvmem_cell_put(cell); return PTR_ERR(*svsp_efuse); }