Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp355902rdf; Tue, 21 Nov 2023 04:55:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IFbS3sP90Xx6yELLThl70SLwv8KqnRifkR/4Hf4XV6WeRIxbS4fbs7HdQC5j6iBWGwjUbSA X-Received: by 2002:a17:903:2281:b0:1cf:59cb:d504 with SMTP id b1-20020a170903228100b001cf59cbd504mr3961860plh.16.1700571304102; Tue, 21 Nov 2023 04:55:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700571304; cv=none; d=google.com; s=arc-20160816; b=U2MeFNRoryjFe6ie0UjRnAoA5w28p/qPgiAuAWpdIQunI5igU4uWTFygLIYT4QJrOJ YW2O5c0CtNEKTkxqR1H8ZXANNH5Rjj6XlQ0PbE5ivyxx8W9Rzonoe8AFyrbViVqDMm6q pc2RiUEnNnwZn9YqDZTl8wpdj+oP0hKRbljhBYrITLjznMZQGVI/Jq448hGDgRR3aUyO /MMJkXz/UO28vekU3ONno1Nfs2BHo7f37PKBHj+0UYZKol2q9ya0HCaTAmxknXJ35SQe fuhXvEAWi/FJve4xu2bZqx+JYx6lIBUrBywQR8siqsavVK9RG8S+jwEYxDFpm9sR9iy4 Gk8Q== 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 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id e31-20020a63545f000000b005b91192c625si10428834pgm.589.2023.11.21.04.55.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 04:55:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; 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 2620:137:e000::3:7 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 BB8D980B8E62; Tue, 21 Nov 2023 04:52:12 -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 + 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 ); 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 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: 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:12 -0800 (PST) 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 --- 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); } -- 2.42.0