From patchwork Tue Aug 6 16:06:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 170673 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp5898851ile; Tue, 6 Aug 2019 09:08:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqzWMMhAS1+dR7nsZzKgXyhBDHWW613cZ5c34i7q+qLmToGaJLA0ij63VPam6iLpk/xyrE3P X-Received: by 2002:a63:1341:: with SMTP id 1mr3831844pgt.48.1565107708575; Tue, 06 Aug 2019 09:08:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565107708; cv=none; d=google.com; s=arc-20160816; b=fMUj+KlKYKLO0if4PpLdMafv0PoouyI+E8wFeGG6KOMUnoXwZ1nhLAZc5SZjT/9A+C ahQvCG4uIkoaW9GUgN9lGxnu9WODUAsdmnfPwp4JlfHhWWnR6CIDy6GQgZs7rMhh96zM Q65xwYHcqs40iudcOAszxDcDFfT5ochbqA9+DHNMY09DDzQIcYyHyi7i+U0YZ0FUORh4 sDgB9ZcesqRj3ox5ebnM0vYgUAVlAuLerfyazmEOi0fuQURpusl2+wr5k8cmzmXZJaJg Yz/osCfCeKIe2j0By+YW3H370dj1vPozoudOsJUjDyPkcQ8Arzjd4qonHr8Buw9fKvJa gOWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=ViZYMXQOEJeHFRo7lVsUbfQPH4/cBlU+fPaWEHJaQ1w=; b=dmn1mg//uYHZkVM0wC0KRaJuwcSu1LCFm2IOtz4gYElSqq5dtrCFbH3z/4iGU5PcYa TRBepJj1VLuxiK49oqBPzEUhGG9+vvVsMFySD2f+CviPecNYkMcENlVU8atViYkXefNl nN8Ss59YO9ghHTt7Ja7Qso8CyKEdFZUaIsTCIbMFEjXqN7zdnIcf9mWtEQUv7iBPl/is yn6Un7f/hS+YHbsviTdgQgtDky3fyuzK4Y+F85ZdFlVlFJTMsodoFrqcWkQvsilytZVk q2xQaGI6TMWuC/T+ghFYI2iyS/B5YtWQr7cuTPgcG4yW/Oy3dEqaoDA1ygLT3l4Gom0l hODg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e2si49118209pfn.32.2019.08.06.09.08.28; Tue, 06 Aug 2019 09:08:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387650AbfHFQI1 (ORCPT + 29 others); Tue, 6 Aug 2019 12:08:27 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:60952 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732203AbfHFQI1 (ORCPT ); Tue, 6 Aug 2019 12:08:27 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 1E2BBCD242C6BF83393B; Wed, 7 Aug 2019 00:08:25 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.439.0; Wed, 7 Aug 2019 00:08:17 +0800 From: John Garry To: , , CC: , , , John Garry Subject: [PATCH] docs: mtd: Update spi nor reference driver Date: Wed, 7 Aug 2019 00:06:23 +0800 Message-ID: <1565107583-68506-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The reference driver no longer exists since commit 50f1242c6742 ("mtd: fsl-quadspi: Remove the driver as it was replaced by spi-fsl-qspi.c"). Update reference to spi-fsl-qspi.c driver. Signed-off-by: John Garry -- 2.17.1 diff --git a/Documentation/driver-api/mtd/spi-nor.rst b/Documentation/driver-api/mtd/spi-nor.rst index f5333e3bf486..1f0437676762 100644 --- a/Documentation/driver-api/mtd/spi-nor.rst +++ b/Documentation/driver-api/mtd/spi-nor.rst @@ -59,7 +59,7 @@ Part III - How can drivers use the framework? The main API is spi_nor_scan(). Before you call the hook, a driver should initialize the necessary fields for spi_nor{}. Please see -drivers/mtd/spi-nor/spi-nor.c for detail. Please also refer to fsl-quadspi.c +drivers/mtd/spi-nor/spi-nor.c for detail. Please also refer to spi-fsl-qspi.c when you want to write a new driver for a SPI NOR controller. Another API is spi_nor_restore(), this is used to restore the status of SPI flash chip such as addressing mode. Call it whenever detach the driver from