Skip to content

Commit 2ff0573

Browse files
dlechbroonie
authored andcommitted
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>
1 parent cf6d79a commit 2ff0573

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/spi/spidev.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ the spidev driver failing to probe.
6161

6262
Sysfs also supports userspace driven binding/unbinding of drivers to
6363
devices that do not bind automatically using one of the tables above.
64-
To make the spidev driver bind to such a device, use the following:
64+
To make the spidev driver bind to such a device, use the following::
6565

6666
echo spidev > /sys/bus/spi/devices/spiB.C/driver_override
6767
echo spiB.C > /sys/bus/spi/drivers/spidev/bind

0 commit comments

Comments
 (0)