Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp3357079pxy; Sun, 25 Apr 2021 22:56:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYoXKdxua7+2FOZw/CbPvkzq4O530kgLIm6PRS9xdiK/CaI0JZUf9kdZeoloees+M5oCkl X-Received: by 2002:a17:906:a0c2:: with SMTP id bh2mr16470727ejb.394.1619416562656; Sun, 25 Apr 2021 22:56:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619416562; cv=none; d=google.com; s=arc-20160816; b=Lpa50M4vjhaBQDkl9Zbg3uA5DHyFLvx/wV43efNZLMr0v/39CTX9Leyaul9sgb7dVe flw1aU8usTQXGhnm3i7Iwt+BraJgEslIW+TcK/4J7ouwLyvtIDr63F/TFzbuRRFSCk21 QLjAcROlF/JonJE+66DxF463Lx5sBP85+WLnw+lp53O8ZTDncbDyskW5p3jNPqWvif4j ouyBmpJrVuw76dS+BFWAo9EoXDZEGUyw/DJKwCl1mNiyzv+Sj75EwB0XuwSp/spXNybk fA1wYR7u68g1zv4QSgwhXuswx4B9OEozGpwNgEP6Aj3qnTwCI1vYcFWdL8FPzDiyXkhJ gQUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from:dmarc-filter :sender:dkim-signature; bh=P8V8QMRXR8RSMWA+38eUkmtqIUVqsIXcqd72opEfYnA=; b=c6MaUAzzgB9qLkevFT/hSu3eEGE+tkiYCySRJGG0iZTtS+uE8jnko3oHS3siyku8cx +845jRcFbdLj1mJC1McHYvxF+QIkPU/ArBUJXqExkUdeonA06BJRhqaT0C/bJZSHWk0j Lf7OuLybPANNAiRf5QY/AYSXH82JthVQ7ku9wqJcKIAMnIHq8EF3Dllq8ymovz2+nS6t O082Nhu0lKdyH7rv/B2BZ4JvXZxaKcyenLjMilTexzec/Eb6BQTcLSjJ1hdLTVXoTBoE V6VY03FdyNTBzfEW4FLhNxYOijgOFQqJrGsjJlMqQBhfwyR3MSrH0AW98ML1xLhstos6 ppFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=OfSp2i4C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d4si4196574edy.533.2021.04.25.22.55.37; Sun, 25 Apr 2021 22:56:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=OfSp2i4C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231840AbhDZFz1 (ORCPT + 99 others); Mon, 26 Apr 2021 01:55:27 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:61644 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbhDZFz0 (ORCPT ); Mon, 26 Apr 2021 01:55:26 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1619416486; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=P8V8QMRXR8RSMWA+38eUkmtqIUVqsIXcqd72opEfYnA=; b=OfSp2i4CA/hygM1g6wdmq9nJeaGhvs9RDUZrlc72Qj40PG3NCXnO6HbJdHx2GKymIqDfoHpH Vzj/60529b4QQsGpOBJkr0EUJtEp6EraM0Ad8m0Y+owqbndAmAUAfZgXeCD+1Bkic+66WxVE uPAFN3TrF/OIYIjxaSGJQBuuJHs= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n03.prod.us-west-2.postgun.com with SMTP id 60865591e0e9c9a6b698021f (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 26 Apr 2021 05:54:25 GMT Sender: rnayak=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 745ECC43460; Mon, 26 Apr 2021 05:54:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from blr-ubuntu-173.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rnayak) by smtp.codeaurora.org (Postfix) with ESMTPSA id CB376C433D3; Mon, 26 Apr 2021 05:54:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org CB376C433D3 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=rnayak@codeaurora.org From: Rajendra Nayak To: srinivas.kandagatla@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dianders@chromium.org, rbokka@codeaurora.org, Rajendra Nayak Subject: [PATCH v2] nvmem: qfprom: minor nit fixes Date: Mon, 26 Apr 2021 11:24:12 +0530 Message-Id: <1619416452-6852-1-git-send-email-rnayak@codeaurora.org> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix a missed newline, change an 'if' to 'else if' and update a comment which is stale after the merge of '5a1bea2a: nvmem: qfprom: Add support for fuseblowing on sc7280' Signed-off-by: Rajendra Nayak --- v2: Added the change to move the 'if' to 'else if' Sending a follow-up patch for these nits since they came in after the previous patch was already pulled in https://lore.kernel.org/patchwork/patch/1401964/ drivers/nvmem/qfprom.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/nvmem/qfprom.c b/drivers/nvmem/qfprom.c index d6d3f24..1ba666b 100644 --- a/drivers/nvmem/qfprom.c +++ b/drivers/nvmem/qfprom.c @@ -122,6 +122,7 @@ static const struct qfprom_soc_compatible_data sc7280_qfprom = { .keepout = sc7280_qfprom_keepout, .nkeepout = ARRAY_SIZE(sc7280_qfprom_keepout) }; + /** * qfprom_disable_fuse_blowing() - Undo enabling of fuse blowing. * @priv: Our driver data. @@ -195,7 +196,7 @@ static int qfprom_enable_fuse_blowing(const struct qfprom_priv *priv, } /* - * Hardware requires 1.8V min for fuse blowing; this may be + * Hardware requires a min voltage for fuse blowing; this may be * a rail shared do don't specify a max--regulator constraints * will handle. */ @@ -399,7 +400,7 @@ static int qfprom_probe(struct platform_device *pdev) if (major_version == 7 && minor_version == 8) priv->soc_data = &qfprom_7_8_data; - if (major_version == 7 && minor_version == 15) + else if (major_version == 7 && minor_version == 15) priv->soc_data = &qfprom_7_15_data; priv->vcc = devm_regulator_get(&pdev->dev, "vcc"); -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation