Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp4286474ybh; Tue, 6 Aug 2019 09:09:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqy5d+jL6p5+cfJYMUMNN7dSvxTjKhp0x460BdostWZquXp5Gg4Ku0VAcXxAIYnxa0BPleK6 X-Received: by 2002:a62:ce8e:: with SMTP id y136mr4521870pfg.29.1565107757992; Tue, 06 Aug 2019 09:09:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565107757; cv=none; d=google.com; s=arc-20160816; b=EC3v2eiBJTvHy7vooOEurn03x09y4WKwfE3TDSR5qXIej8SqOx2ddxnar8yz2kMUqF Zs6XH+Sk/ljmr5C8b+G4xRUK/I2cF8UuQpSbr0ilmW7u33N/gHJ8CcyKA+djd4G6B+nZ 0/NKw6HlBKDXuTOgA/5gC8aYIweZ/hHxD+nc0CiQQ0s2kCCQeK/q6uCEfeAiebgm6zrB /KLF+qhGw0iI5q+IT6j76MctYIVqm4D47omo3AD3wXL5UyZlwFoaTxCa03/WP4idz13k Q4gd/tuy75iB7GB11nqhfHrLUCEQj+bEONDYi9dHp+jSr3J455q1cGYeJSRYuQ5pc1Dj jKQA== 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 l24si9438118pgj.173.2019.08.06.09.09.02; Tue, 06 Aug 2019 09:09:17 -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 S2387637AbfHFQI1 (ORCPT + 99 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 Content-Type: text/plain 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 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 -- 2.17.1