docs: iio: fix example formatting
authorLuca Ceresoli <luca@lucaceresoli.net>
Mon, 15 Feb 2021 14:35:07 +0000 (15:35 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 11 Mar 2021 20:47:07 +0000 (20:47 +0000)
This line is part of the code snippet, so it has to be nested in order
to be rendered correctly.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Link: https://lore.kernel.org/r/20210215143511.25471-2-luca@lucaceresoli.net
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/iio/iio_configfs.rst

index 3a5d76f9e2b97421faf2de81ae5d1061a28a7c52..dbc61f35ea051a21065f126d671a43012d7af595 100644 (file)
@@ -71,7 +71,7 @@ kernel module following the interface in include/linux/iio/sw_trigger.h::
        .ops = &iio_trig_sample_ops,
   };
 
-module_iio_sw_trigger_driver(iio_trig_sample);
+  module_iio_sw_trigger_driver(iio_trig_sample);
 
 Each trigger type has its own directory under /config/iio/triggers. Loading
 iio-trig-sample module will create 'trig-sample' trigger type directory