From: Randy Dunlap <rdunlap@infradead.org>
To: linux-kernel@vger.kernel.org
Cc: Randy Dunlap <rdunlap@infradead.org>,
Vishwaroop A <va@nvidia.com>, Mark Brown <broonie@kernel.org>,
linux-spi@vger.kernel.org, Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
linux-doc@vger.kernel.org
Subject: [PATCH] docs: spi: spi-master: use literal blocks for commands
Date: Sun, 20 Sep 2026 21:47:13 -0700 [thread overview]
Message-ID: <20260921044713.93122-1-rdunlap@infradead.org> (raw)
Use literal blocks for console I/O to separate it from the
surrounding text. Otherwise the lines run together, without any
clear break before or after the commands.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Vishwaroop A <va@nvidia.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: linux-spi@vger.kernel.org
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org
Documentation/ABI/testing/sysfs-class-spi-master | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
--- linux-next-20260918.orig/Documentation/ABI/testing/sysfs-class-spi-master
+++ linux-next-20260918/Documentation/ABI/testing/sysfs-class-spi-master
@@ -17,7 +17,8 @@ Description: (WO) Instantiate a new SPI
with delete_device; platform and DT devices are not
affected.
- Example:
+ Example::
+
# echo spidev 0 > /sys/class/spi_master/spi0/new_device
# echo spidev 0 10000000 > /sys/class/spi_master/spi0/new_device
# echo spidev 0 10000000 3 > /sys/class/spi_master/spi0/new_device
@@ -30,5 +31,6 @@ Description: (WO) Remove a SPI device pr
new_device. Takes a single parameter: the chip select
number of the device to remove.
- Example:
+ Example::
+
# echo 0 > /sys/class/spi_master/spi0/delete_device
next reply other threads:[~2026-09-21 4:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-21 4:47 Randy Dunlap [this message]
2026-09-21 8:59 ` [PATCH] docs: spi: spi-master: use literal blocks for commands Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260921044713.93122-1-rdunlap@infradead.org \
--to=rdunlap@infradead.org \
--cc=broonie@kernel.org \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=skhan@linuxfoundation.org \
--cc=va@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox