[PATCH] docs: spi: spi-master: use literal blocks for commands
From: Randy Dunlap
Date: Mon Sep 21 2026 - 00:47:22 EST
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@xxxxxxxxxxxxx>
---
Cc: Vishwaroop A <va@xxxxxxxxxx>
Cc: Mark Brown <broonie@xxxxxxxxxx>
Cc: linux-spi@xxxxxxxxxxxxxxx
Cc: Jonathan Corbet <corbet@xxxxxxx>
Cc: Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx>
Cc: linux-doc@xxxxxxxxxxxxxxx
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