From patchwork Tue Nov 1 17:32:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= X-Patchwork-Id: 13819 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp3107905wru; Tue, 1 Nov 2022 10:36:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7xJwx8H0E0oC2sHXMsNnEr54r7usivdJVHb+V+DmTsyYWDWZ6ZIYLeXpQMCB/54MsEt5WS X-Received: by 2002:a17:902:e395:b0:186:9cf7:3147 with SMTP id g21-20020a170902e39500b001869cf73147mr21431611ple.52.1667324192928; Tue, 01 Nov 2022 10:36:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667324192; cv=none; d=google.com; s=arc-20160816; b=KveQDPCDzkRx14SOqGDQHSlpkP8WDYWypxcWAECLGBwR611AbmbcgVU3qzpoSmAok/ nIZ6YgY6iVQaxUN0yjTlO9MPMer+XlljTsf/gxp2ZXaWzcEIhiTg8C2PkEnvhw4CK6Se X1ufQEbI5iQPMRW82nl/DPScG3slM1cSY5ajUI3MIlL80Ja5oGa+AkH+seO88Xkc9Zb2 y95P15Dvxan7l4LB5bMpphrO8i9ibnU4yXRAE/xrE6Bj1HGtRcVKrQMwQmrQhzKuc+Zi aUjVow4Nzf8O3dj+7uc2W57x8c/7okvFN7KOEv84vjBMgziWNh6u6a3sSAnGRJOfyBkE eBaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=JoeQUnpY7vK3GkymqK9ssQPbhH1w8wzKrNuORFh5uvo=; b=rVtVLxifg4Ddc2o6sqsw9kDJnz1CD7mkNgjOpp0DJicLh7z/nTYf7oj8qFWiHdxrwF 0NIWFOWWW1D6UixUOzojbHETSU79K/cAOPlLKwVnYgoenHD4L2XicH2jz9Pagb5qEb7w Dpn4Yw/9CegkdIkuavuTSvzRZvxY3o7DFL0B4B/JcnjnWX0iqyE1gImmXrfg1qRCGuZN fhmdFK+uOJgtpyGkvyVUK/gzmd9SOr+J4JKbu1uGxB0bIX9jXF7YWx7r+mezmA2pMFeO WPLFM7JPyiB6ojurljhrr31g4Ey1hBzjzzFBnZ8N/Dw4L+MczmWLqvGVmxNLm+Og/kGj 4tvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=s31663417 header.b="lhHB6/ow"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmx.net Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u3-20020a654c03000000b0046f33e40222si12233698pgq.669.2022.11.01.10.36.18; Tue, 01 Nov 2022 10:36:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=s31663417 header.b="lhHB6/ow"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmx.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230244AbiKAReR (ORCPT + 99 others); Tue, 1 Nov 2022 13:34:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230408AbiKARdN (ORCPT ); Tue, 1 Nov 2022 13:33:13 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1F291CB17; Tue, 1 Nov 2022 10:33:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1667323981; bh=JoeQUnpY7vK3GkymqK9ssQPbhH1w8wzKrNuORFh5uvo=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=lhHB6/ow9dBOfW+qE0PkuFHFxii7q4VyI5xrTuRBSVP6FowNwIH7ac3noQMLi1Y0H xI3hfk3K4VN4VIL55SpNOVdlvBPgdKtiGBJ+bVNQVwSr6YB2cSplGJ3ddFK+Rv9QvE p3qLLs6yMfHTIWslsxgifI5N86T1pk7UBTitoL4w7FuFN80EEc6qs4Lh6XmkUux1KD TNcOCjyzJf0YLFEd2rCUts4BrtNBVCGUSeRc1U4TjzBKIbmpcUZnvTQhPd0aybbCea 4splR5lncGBko7qEIagfw8oUW7hszmW/O91PLsl//bqyxN/kQ9I57WmKvS0stnlLLr dkcuA6dwQkJ/w== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from probook ([78.34.126.36]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M26r3-1orq0S3SZt-002bNE; Tue, 01 Nov 2022 18:33:01 +0100 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= To: linux-doc@vger.kernel.org Cc: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= , Jonathan Corbet , Geert Uytterhoeven , Mark Brown , linux-kernel@vger.kernel.org Subject: [PATCH] docs: driver-api: spi: Update reference to struct spi_controller Date: Tue, 1 Nov 2022 18:32:51 +0100 Message-Id: <20221101173252.1069294-1-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:YFOSNjlwG99mLOnLjkWj5S9jhCLukjysYhysmXDQVL6yCd2JyZB /4HnzfHpIkBGhm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qqB QTkZeMk9G9TV/0Tm0G0bqS2+2BHpEm5Z4fwj6qmIQCri8mHCfixwOmLo3pPhtF1dx+lBxhlsH WuTmgCKdLfo4h/SuV4Po6/vQWfs= X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748316133191387861?= X-GMAIL-MSGID: =?utf-8?q?1748316133191387861?= struct spi_master has been renamed to struct spi_controller. Update the reference in spi.rst to make it clickable again. Fixes: 8caab75fd2c2 ("spi: Generalize SPI "master" to "controller"") Signed-off-by: Jonathan Neuschäfer --- Documentation/driver-api/spi.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.35.1 diff --git a/Documentation/driver-api/spi.rst b/Documentation/driver-api/spi.rst index f64cb666498aa..f28887045049d 100644 --- a/Documentation/driver-api/spi.rst +++ b/Documentation/driver-api/spi.rst @@ -25,8 +25,8 @@ hardware, which may be as simple as a set of GPIO pins or as complex as a pair of FIFOs connected to dual DMA engines on the other side of the SPI shift register (maximizing throughput). Such drivers bridge between whatever bus they sit on (often the platform bus) and SPI, and expose -the SPI side of their device as a :c:type:`struct spi_master -`. SPI devices are children of that master, +the SPI side of their device as a :c:type:`struct spi_controller +`. SPI devices are children of that master, represented as a :c:type:`struct spi_device ` and manufactured from :c:type:`struct spi_board_info ` descriptors which are usually provided by