Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3249805ybt; Mon, 22 Jun 2020 19:55:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWFPb+41F+5Tkl/QRCqQBtsbbsrFZsCqZuWC8nz5YWAE3qRNZ+E9DMEpej3bc3VZN4NVU1 X-Received: by 2002:a05:6402:1c8f:: with SMTP id cy15mr9969802edb.308.1592880907427; Mon, 22 Jun 2020 19:55:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592880907; cv=none; d=google.com; s=arc-20160816; b=KxifBm/jiM3TS3Yb0Yx5J4Cc6E70GNIh9O/1ED2nRJic1AnOKdQ/PAWKtxs0wQvr68 NwD8xTc9OtIJOW79ynzQiV5YvnC/ITKcUGjjY6HwKYLMm0EUhfyQJl6VAiOhNTbE50nJ lZEfpLP3wURfSPLlGaMOtMAhtxkOjcthEnGPf2/r/1kczSwuGTD5QuiRbkiPOKMqzs8c f1+BEt6moCTWPrpAbed44Elckp7LaOrKKMvB1UNTWbjx8sX0zTyprWczJ0ziqO/usLtY qboDO4/hYAbyh+sfYU4SO5fJL+MqWxidzdgglVo3Mwagh+mUHseJ3Z8ks7yKeiCZzLwL jGJw== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=0/jdqTyBAxcjtodDv8BRravBDTG5i29FTIPYBUDkaj8=; b=betT813QEvIhGWwguHD36v6JQmY8VJJDRxryRv2Nrkx8Kcv0xz4u5rXMEbbB2QdtAn UsEiLvVlQ3TuQCWZHW3hANHHGjPIVk4+uxTGQJdtWR+J9hiEF1HcbKdq6FxBAgbiz52x TnbbDjd0hOj0XXv2WzFJv70aJYrBW/fENO9PbHBaydUVEXFWR3U6HtNk2iACqpwaFYHd kSaOFHBLZf3iCM2rEKhCFwuOSDHU1jHK9iXr8IPWmb0Q6iILPAIOyytkFT0/MeOFr6w4 KAJ/UrCMiSc1DzBG42DhdMZ+/T6AlVvm2xIjjVavTF10F/wgQnKLdvIsZHcDdh/kweqo Gayw== ARC-Authentication-Results: i=1; mx.google.com; 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 f24si10299863edr.137.2020.06.22.19.54.45; Mon, 22 Jun 2020 19:55: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; 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 S1732231AbgFWCwZ (ORCPT + 99 others); Mon, 22 Jun 2020 22:52:25 -0400 Received: from mx2.suse.de ([195.135.220.15]:33024 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731981AbgFWCvo (ORCPT ); Mon, 22 Jun 2020 22:51:44 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 9057EB1A6; Tue, 23 Jun 2020 02:51:42 +0000 (UTC) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?q?James=20Tai=20=5B=E6=88=B4=E5=BF=97=E5=B3=B0=5D?= , =?UTF-8?q?Stanley=20Chang=20=5B=E6=98=8C=E8=82=B2=E5=BE=B7=5D?= , Edgar Lee , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Srinivas Kandagatla , Greg Kroah-Hartman , Yangtao Li , Fabrice Gasnier , Leonard Crestez , Shawn Guo , Andrey Smirnov , Maxime Ripard Subject: [PATCH v2 27/29] nvmem: core: Grammar fixes for help text Date: Tue, 23 Jun 2020 04:51:04 +0200 Message-Id: <20200623025106.31273-28-afaerber@suse.de> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200623025106.31273-1-afaerber@suse.de> References: <20200623025106.31273-1-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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. -- 2.26.2