summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2024-03-19 13:33:42 -0500
committerMark Brown <broonie@kernel.org>2024-03-19 18:37:55 +0000
commit2ff0573e7aff5129d73ec5c3159cd84d862cb1cc (patch)
treea2dd256f16757656179ca22abaea15d146b00ff8 /Documentation
parentcf6d79a0f5769b5f4d9579ddaf88d2c30b03b873 (diff)
spi: docs: spidev: fix echo command format
The two example echo commands for binding the spidev driver were being rendered as one line in the HTML output. This patch makes use of the restructured text :: to format the commands as a code block instead which preserves the line break. Signed-off-by: David Lechner <dlechner@baylibre.com> Link: https://msgid.link/r/20240319183344.2106335-1-dlechner@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/spi/spidev.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/spi/spidev.rst b/Documentation/spi/spidev.rst
index 369c657ba435..e08b301ad24a 100644
--- a/Documentation/spi/spidev.rst
+++ b/Documentation/spi/spidev.rst
@@ -61,7 +61,7 @@ the spidev driver failing to probe.
Sysfs also supports userspace driven binding/unbinding of drivers to
devices that do not bind automatically using one of the tables above.
-To make the spidev driver bind to such a device, use the following:
+To make the spidev driver bind to such a device, use the following::
echo spidev > /sys/bus/spi/devices/spiB.C/driver_override
echo spiB.C > /sys/bus/spi/drivers/spidev/bind