Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2476386pxj; Mon, 17 May 2021 02:26:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxo3NSZbqzbapbJmFLTIRNTzqekuBq0I04/BLfPaq89K5faQhKVBGW6khg2E2hEU77QcakT X-Received: by 2002:a5d:87d0:: with SMTP id q16mr21678529ios.177.1621243567645; Mon, 17 May 2021 02:26:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621243567; cv=none; d=google.com; s=arc-20160816; b=gD5loG3gA0AtRMlRsefi7XJupZDvwaNWLCy+Vfiqmocye6i0ewFfD3YGoHQ34OQBbv b/4dHWtwr5bWcnLzhOlOsKq7cJugIZ1aQ6NBO1QY/isgjcGnJ4lOdtInFgWPxqu4KA19 oURWKJn+t0Pi7fIRvdcj0Rm1xOh20YEgi6XC8b405JijAIZiKjoY/KXvcMaDaYtg+LSC 4s8Cswc95ImnuKx8Fl48H67yBEkt28HiDH3Y7IiNawONS6PIK8m3Fni64rdP+A28sb31 1d6Q7kS+xrLof1BpbcLjo9yUMS5VynQoTZl5WH451quD3z6CE1+PqW0WyjTM9GTr92wc VeOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=RoIebCss24vMlDVC6yQ1C6afToK7d/dI1S2GbQ2aSEA=; b=eK6nGsk9tZDSarYJ6H4EpDURtJF97i3VV5GltyGkzOlCwjqDF+lpQvCi84red3sSxP I/3w9KWbe3ZFEJTEwvM4fseTA6SyXfJ63T8OxTcD76SYTQQewztL9BHn+szHEM3XaJas /RPVBvEVRzYtQ8LeiCyit/BJ/fQUNcJWxTp5LW7haVK47gyBl/FHUgmjel6BEwp1hyyW nSd6eMwiZo255gPlp270zqd1cJmvju5ceiwDKdXn9MyejCyaUaUwPnaAsFtVzAd9TeSD oOmdsff6OxeCH31UU2fd/deZjWjKMa6g27URjhhWqidWwjDGewZElllF43u5D765kYqw WaFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zB7jCsOx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h127si14596500iof.102.2021.05.17.02.25.55; Mon, 17 May 2021 02:26:07 -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=@linaro.org header.s=google header.b=zB7jCsOx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235911AbhEQJ00 (ORCPT + 99 others); Mon, 17 May 2021 05:26:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235923AbhEQJZc (ORCPT ); Mon, 17 May 2021 05:25:32 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8135C061573 for ; Mon, 17 May 2021 02:24:14 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id u4-20020a05600c00c4b02901774b80945cso1286118wmm.3 for ; Mon, 17 May 2021 02:24:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=RoIebCss24vMlDVC6yQ1C6afToK7d/dI1S2GbQ2aSEA=; b=zB7jCsOxnFL/LDXgSuYO6D2FTj4cBSLSuAU27wIBOhnahIP2hOkz7trtV6WVxPJeca EP4d9ktdjIouHp9QZrwEfbtEUBfoUCLVSERtAzPohlfQOVey1nsvp1RHh1BhPkS2yFce Htatp3cWHBLsreKDSbbsMX6ZPdQo+xkXJaFun59UbDBmzLWph1WskJ+wyn4t+fLl3cT3 vKPFFvwf5VQD5v3vJ1iCNcI/3JSlzvYdnDWdqgaY7LrjMBLrALRwW7EHoe5CLH5eNaej EFh8iDbEam6THt30dmyEy7YCt4kTs97TzsIBzQhAMcXAeZLU2E07yB2QUVArO7SnNaTF R46g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=RoIebCss24vMlDVC6yQ1C6afToK7d/dI1S2GbQ2aSEA=; b=ZOnSNS4sWcu8GflIURjWJGJGC9Ug+Mv9p7Skxie5HDRk/C+WapDDc2jSar+L37GqLE fbd08aDJ7u7Znqe/ktNSDnxGY+QsQQeUN7NRUD27AUcmgau/Ct/F27fwe0Adpsu6vD/r zxrmUx7zvJ2zISVEEpNuInn/ZP32oXUM/R3sevZMiw5bnxEazw7rtNFLvKSp/n7qEJMQ b2SXUUehMEUPtkutOAf61uZeh1hrSz/n0TEBqMEckuvWgOz3bWNzqmjk/YKhp/qMVRrZ rfN3TBRKWfoj211XWPzR3eQKjOego+4i1siZKRgZm1vvMOachWjdAjVm9vh/yaHVtguG 4ibQ== X-Gm-Message-State: AOAM531+s4E/svWjcEs1jwSNq2NTx6uOu7Qu2C8LbErDExc2OV2kLvR4 KpdJBovDXqBWRKrNe8eLMiGCQQ== X-Received: by 2002:a05:600c:2909:: with SMTP id i9mr62634571wmd.116.1621243453678; Mon, 17 May 2021 02:24:13 -0700 (PDT) Received: from [192.168.86.34] (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.googlemail.com with ESMTPSA id j14sm16456506wmj.19.2021.05.17.02.24.12 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 May 2021 02:24:13 -0700 (PDT) Subject: Re: [PATCH v2] nvmem: qfprom: minor nit fixes To: Rajendra Nayak Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dianders@chromium.org, rbokka@codeaurora.org References: <1619416452-6852-1-git-send-email-rnayak@codeaurora.org> From: Srinivas Kandagatla Message-ID: <3b78bf7d-6e41-2df5-caee-20bce46ba0bf@linaro.org> Date: Mon, 17 May 2021 10:24:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <1619416452-6852-1-git-send-email-rnayak@codeaurora.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26/04/2021 06:54, Rajendra Nayak wrote: > 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 Applied thanks, --srini > --- > 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"); >