Commit c1d82dbc authored by Luca Ceresoli's avatar Luca Ceresoli Committed by Jonathan Cameron

docs: iio: fix example formatting

This line is part of the code snippet, so it has to be nested in order
to be rendered correctly.
Signed-off-by: default avatarLuca Ceresoli <luca@lucaceresoli.net>
Link: https://lore.kernel.org/r/20210215143511.25471-2-luca@lucaceresoli.netSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent b624fd14
...@@ -71,7 +71,7 @@ kernel module following the interface in include/linux/iio/sw_trigger.h:: ...@@ -71,7 +71,7 @@ kernel module following the interface in include/linux/iio/sw_trigger.h::
.ops = &iio_trig_sample_ops, .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 Each trigger type has its own directory under /config/iio/triggers. Loading
iio-trig-sample module will create 'trig-sample' trigger type directory iio-trig-sample module will create 'trig-sample' trigger type directory
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment