Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3448252ybt; Tue, 23 Jun 2020 02:32:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+x4Di0lDZaZ2GKKuDVWZ9D3gjIbr9kqsMPPnKbY65zLLD7Ceu2tqbG0COjIiQsR1cD8ql X-Received: by 2002:a17:906:ccd5:: with SMTP id ot21mr282287ejb.508.1592904754929; Tue, 23 Jun 2020 02:32:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592904754; cv=none; d=google.com; s=arc-20160816; b=UJgGpQlJ9EuRkRfQG9OEBckYZz3oGmPeIfoZYBXAZ3C2eJYVSfd2zgbyyt+E6IjQfl eJgAbFK1Tz2xxWFJ5tjYRFb3nndGZwXmZ8EcCRLE6mqC38xriRhclYYMWKIJ1yzhg1Rp CPCtjwb6GzWBblIO1dSwVEZ3+fLY4k1JSsdR0FUPAIGngCYklVJ4CSE0wNkao7uWF51a Xq84izZ0AMzmkTg6HcW13kYeH0aOgiNNKpTbsorpfKs3zBO5zrEylzJ8iQpF9j3RbQLr si7Rn8Lufq/YxJhRceUmEXxxcD5i5JfvHmpEiMJYxK5zATTHbcdb5BVEdVjsCZAv1N1i i/HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=138EdQ9tD73hqhAQhhUeFc0AgFbCmv6nnkdTEfVd45k=; b=zRlH0JhUHB7wsjPqWq51xe0WpT9FF+eMAsFGJM4dbIphFNo82cuFZV6+iHWy/EV6ku UChcTR8ZXvcuF3Z4e7D8w8O91e5frUUuzvGw/XCJGqYKxUkjcTcbiZHSJLXIumRRBbLC OF7Grrx2W+5nKt1t+57x/Ms3m0d+yictMRFbYz/wcnoY28l9Vn1vDapA6W8GLpywtQS/ MkrNCsUSUbaTGfnY0xIg0L1cCExI6467XcMHH59pJk6rbmHv90fCX1C3+RuDCNp5OlQ1 uAY25smUGrMVtNvL59FqmBDMHllV/gI1/mY2gz8XFs1O4pT9PIKSFLY1BvCtVQFg7qXg oULg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mMJEyAB+; 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 jz7si11566767ejb.455.2020.06.23.02.32.10; Tue, 23 Jun 2020 02:32:34 -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=mMJEyAB+; 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 S1732083AbgFWJaR (ORCPT + 99 others); Tue, 23 Jun 2020 05:30:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731968AbgFWJaQ (ORCPT ); Tue, 23 Jun 2020 05:30:16 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEE45C061573 for ; Tue, 23 Jun 2020 02:30:16 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id y20so2453944wmi.2 for ; Tue, 23 Jun 2020 02:30:16 -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=138EdQ9tD73hqhAQhhUeFc0AgFbCmv6nnkdTEfVd45k=; b=mMJEyAB+LFQN3ToRiyP/JtJNSf9T1UstlfCcwLHDMD82oN0KpRI+CF6UnSkoxE+68w B2HlUbJc6QwV2x+uAP5hTddYX9pe7jygQ96AhD7Xl/ndmRWvJNq2yueWlJw5CQMrvo0V zpbnheffHDA/OT2Q3itFxrHzsjtGCFoe7wM0VJGZ1zk/L9fpEsUzPL7qYdueex0vp6BC gDawZbD9kC4nH0pgpjJQSmbPLQ5YCXo3tviuc+UJJKm9hTnbJV+XxS6YNA9Xjtr3VU6v yTKjOfilP+U9Smby6LUCY2ByoCcNlF8cyEZE/ZtjFVU8O/Bc1rRtTxexoWxDJh0qx9SI qhyQ== 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=138EdQ9tD73hqhAQhhUeFc0AgFbCmv6nnkdTEfVd45k=; b=ACyAm3fE1BjFkO2NAmhEi9iHOyZuBIgSeLJt4merlzhXIRCSrfVgcrfxQN0pXVBAjG 9qneoakAqRah7LwcrxDVBy0+O7eX6PrZ1LRu0M4citUDChAg7Ddtfg/zDHQTDAAmFr14 EQfrcExtSvJj5mqbEcm4qL27IkSWQIDuSIHuAkx/f7NbvalSk+gVHwqTN030/q0M/Puv OCSA7a+PaT9PQhbxSd8xg3MDI2zGni9ZE800CfjZ9V1tJ79kPcGbK36dDOqSBV95dl/1 E3KvA92SK4FMd7h5Tp/B4/m6IQnLnPpLiRY/gh6c3a8Twvxt5b90u52HT1wFq5cEPNsE xfEg== X-Gm-Message-State: AOAM532fq80b6oSbr1A1qboMJsfii6hE1ABcJsqQZbVPBRC9TvXb0uJS g/nEh8vnpEvTIdFzuhP6Qy2aew== X-Received: by 2002:a7b:cc8b:: with SMTP id p11mr13326998wma.180.1592904615280; Tue, 23 Jun 2020 02:30:15 -0700 (PDT) Received: from [192.168.86.34] (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.googlemail.com with ESMTPSA id v5sm1517824wre.87.2020.06.23.02.30.13 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jun 2020 02:30:14 -0700 (PDT) Subject: Re: [PATCH v2 27/29] nvmem: core: Grammar fixes for help text To: =?UTF-8?Q?Andreas_F=c3=a4rber?= , linux-realtek-soc@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?B?SmFtZXMgVGFpIFvmiLTlv5fls7Bd?= , =?UTF-8?B?U3RhbmxleSBDaGFuZyBb5piM6IKy5b63XQ==?= , Edgar Lee , Greg Kroah-Hartman , Yangtao Li , Fabrice Gasnier , Leonard Crestez , Shawn Guo , Andrey Smirnov , Maxime Ripard References: <20200623025106.31273-1-afaerber@suse.de> <20200623025106.31273-28-afaerber@suse.de> From: Srinivas Kandagatla Message-ID: <47b9a567-cdb7-c4af-5766-959a4ec5a77b@linaro.org> Date: Tue, 23 Jun 2020 10:30:13 +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: <20200623025106.31273-28-afaerber@suse.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23/06/2020 03:51, Andreas Färber wrote: > It's "an unsigned" but "a U". > Similarly, "an entry" but "a binary entry". > > While at it, also drop superfluous articles for negative and zero. > > Fixes: 8b977c5498b8 ("nvmem: core: add nvmem_cell_read_u64") > Fixes: 0a9b2d1ce422 ("nvmem: core: add nvmem_cell_read_u16") > Fixes: d026d70a2e94 ("nvmem: core: Add nvmem_cell_read_u32") > Fixes: f1f50eca5f90 ("nvmem: Introduce devm_nvmem_(un)register()") > Fixes: eace75cfdcf7 ("nvmem: Add a simple NVMEM framework for nvmem providers") > Signed-off-by: Andreas Färber > --- > In theory, for clean backports this would need to be split into 5 pieces... > Not sure whether anyone would actually do that for help text? > Dropping the Fixes headers might be an alternative. TBH, it adds lot of confusion while automatically back-porting these patches! For now I have removed these Fixes tags and applied. As I do not feel this is going to add any value in back-porting this grammar fixes!! --srini > > v2: New > > drivers/nvmem/core.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c > index fc480d636be2..95bed31391cd 100644 > --- a/drivers/nvmem/core.c > +++ b/drivers/nvmem/core.c > @@ -573,7 +573,7 @@ static int nvmem_add_cells_from_of(struct nvmem_device *nvmem) > > /** > * nvmem_register() - Register a nvmem device for given nvmem_config. > - * Also creates an binary entry in /sys/bus/nvmem/devices/dev-name/nvmem > + * Also creates a binary entry in /sys/bus/nvmem/devices/dev-name/nvmem > * > * @config: nvmem device configuration with which nvmem device is created. > * > @@ -728,7 +728,7 @@ static void devm_nvmem_release(struct device *dev, void *res) > /** > * devm_nvmem_register() - Register a managed nvmem device for given > * nvmem_config. > - * Also creates an binary entry in /sys/bus/nvmem/devices/dev-name/nvmem > + * Also creates a binary entry in /sys/bus/nvmem/devices/dev-name/nvmem > * > * @dev: Device that uses the nvmem device. > * @config: nvmem device configuration with which nvmem device is created. > @@ -772,7 +772,7 @@ static int devm_nvmem_match(struct device *dev, void *res, void *data) > * @dev: Device that uses the nvmem device. > * @nvmem: Pointer to previously registered nvmem device. > * > - * Return: Will be an negative on error or a zero on success. > + * Return: Will be negative on error or zero on success. > */ > int devm_nvmem_unregister(struct device *dev, struct nvmem_device *nvmem) > { > @@ -1375,7 +1375,7 @@ static int nvmem_cell_read_common(struct device *dev, const char *cell_id, > } > > /** > - * nvmem_cell_read_u16() - Read a cell value as an u16 > + * nvmem_cell_read_u16() - Read a cell value as a u16 > * > * @dev: Device that requests the nvmem cell. > * @cell_id: Name of nvmem cell to read. > @@ -1390,7 +1390,7 @@ int nvmem_cell_read_u16(struct device *dev, const char *cell_id, u16 *val) > EXPORT_SYMBOL_GPL(nvmem_cell_read_u16); > > /** > - * nvmem_cell_read_u32() - Read a cell value as an u32 > + * nvmem_cell_read_u32() - Read a cell value as a u32 > * > * @dev: Device that requests the nvmem cell. > * @cell_id: Name of nvmem cell to read. > @@ -1405,7 +1405,7 @@ int nvmem_cell_read_u32(struct device *dev, const char *cell_id, u32 *val) > EXPORT_SYMBOL_GPL(nvmem_cell_read_u32); > > /** > - * nvmem_cell_read_u64() - Read a cell value as an u64 > + * nvmem_cell_read_u64() - Read a cell value as a u64 > * > * @dev: Device that requests the nvmem cell. > * @cell_id: Name of nvmem cell to read. >