From patchwork Sat Apr 6 18:33:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10888241 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8F7671575 for ; Sat, 6 Apr 2019 18:33:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4114928818 for ; Sat, 6 Apr 2019 18:33:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 30ABA2881B; Sat, 6 Apr 2019 18:33:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09A9D28818 for ; Sat, 6 Apr 2019 18:33:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726458AbfDFSdf (ORCPT ); Sat, 6 Apr 2019 14:33:35 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:35276 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726427AbfDFSdf (ORCPT ); Sat, 6 Apr 2019 14:33:35 -0400 Received: by mail-lj1-f194.google.com with SMTP id t4so7902067ljc.2 for ; Sat, 06 Apr 2019 11:33:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:organization:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=gTKBEN6mQJcUZ6QhO+M8zF87jhjPB6jKwuCSsF3wXKY=; b=ZI6ZbFw0F2ckSd+V3nPDYIj8Yze1l5WxoLCKk+c/TFiaQWFjqPS5AbpVWBUCi98szQ P4CXH5xVDTNjXxbE+TjaiPmR9W6KZC9I5AALok3FJnIpQDGbeRTPaRNnoYn5GiEHbFcg Ft3uKhcUDMiBrWBr2B3FYc+Mf9rZIkWYN198nHmCkl6Skl1R5uSZc8/yFdgDcOVhVkHa YIBxXc18PqfmHTkq0bSnsDwaTIZAb//kCUAFj6/AE+0udQQLJQE9LlDIR3GQWTiuxBBV 6iZbgReHM1lFfpkw01zPcUy+un5fJG+fLnlfg9VnSd4f7R6NRt0T9pL5HD+NC7ENlUmz PDFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:organization:message-id:date :user-agent:mime-version:content-language:content-transfer-encoding; bh=gTKBEN6mQJcUZ6QhO+M8zF87jhjPB6jKwuCSsF3wXKY=; b=K939C7FGWSjuEHkqINntRsNuG0EhOpopazrxh9hKj3QZW3KfVhLK48xKD0ZuWgK+Xs tU36Uf8jd+UigqYdm+ggbR90mOtPTeINWSad+AZl65mf9g2i6gZlIw86wx+DAYBdaSb/ fSS7+Y3T0JK37ijFIZZ8M+3AbPr2CjWDcmgehyzq1O06oKRqWgdpxK9cIbIyWwQqMwH2 AdOBChF2AsMcBdjWr3NzdZI/w1mOJOXFPKVCoA/ZOAsJSORyvDET4R2Wh8bBDizp9K3a 5EHTtO3ByW/FB2SHoDE8fBO+bYuFAU3n2pNXicqBdfb1QlvTE4gFXf3S/0JQvaRJfSbJ ExHg== X-Gm-Message-State: APjAAAVOCAKCevuZR+wpR3T8ZnHxDwQmNDiPGwglpg0OIlS9Gbz7ayEo P9Iv/9Q+w/lsNX+rxmskwLo/OC2OLMM= X-Google-Smtp-Source: APXvYqyxrfCdFE5E0EaeeMGkqjbHmWC0Kk/b6x2l3imtGryasBM+M18qccXxQ+crL4wUoL8CK+pBdg== X-Received: by 2002:a2e:8156:: with SMTP id t22mr10482673ljg.77.1554575612666; Sat, 06 Apr 2019 11:33:32 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.86.164]) by smtp.gmail.com with ESMTPSA id k2sm5067934lfb.62.2019.04.06.11.33.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 Apr 2019 11:33:31 -0700 (PDT) From: Sergei Shtylyov Subject: [PATCH] spi-mem: fix kernel-doc for spi_mem_dirmap_{read|write}() To: Mark Brown , linux-spi@vger.kernel.org Organization: Cogent Embedded Message-ID: <2f3efd7c-f984-76d7-ced2-84481611fce2@cogentembedded.com> Date: Sat, 6 Apr 2019 21:33:29 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Language: en-MW Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The function names in the kernel-doc comments were mistyped, with a word "dirmap" being repeated twice, so fix them. Fixes: aa167f3fed0c ("spi: spi-mem: Add a new API to support direct mapping") Signed-off-by: Sergei Shtylyov --- The patch is against the 'for-linus' branch of Mark Brown's 'spi.git' repo. drivers/spi/spi-mem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: spi/drivers/spi/spi-mem.c =================================================================== --- spi.orig/drivers/spi/spi-mem.c +++ spi/drivers/spi/spi-mem.c @@ -622,7 +622,7 @@ void devm_spi_mem_dirmap_destroy(struct EXPORT_SYMBOL_GPL(devm_spi_mem_dirmap_destroy); /** - * spi_mem_dirmap_dirmap_read() - Read data through a direct mapping + * spi_mem_dirmap_read() - Read data through a direct mapping * @desc: direct mapping descriptor * @offs: offset to start reading from. Note that this is not an absolute * offset, but the offset within the direct mapping which already has @@ -668,7 +668,7 @@ ssize_t spi_mem_dirmap_read(struct spi_m EXPORT_SYMBOL_GPL(spi_mem_dirmap_read); /** - * spi_mem_dirmap_dirmap_write() - Write data through a direct mapping + * spi_mem_dirmap_write() - Write data through a direct mapping * @desc: direct mapping descriptor * @offs: offset to start writing from. Note that this is not an absolute * offset, but the offset within the direct mapping which already has