From: Luca Ceresoli Date: Mon, 15 Feb 2021 14:35:07 +0000 (+0100) Subject: docs: iio: fix example formatting X-Git-Tag: v5.15~1315^2~344^2~75 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c1d82dbcb0a6b660bc44f7e9c1ba606b671f1b71;p=platform%2Fkernel%2Flinux-starfive.git 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: Luca Ceresoli Link: https://lore.kernel.org/r/20210215143511.25471-2-luca@lucaceresoli.net Signed-off-by: Jonathan Cameron --- diff --git a/Documentation/iio/iio_configfs.rst b/Documentation/iio/iio_configfs.rst index 3a5d76f..dbc61f3 100644 --- a/Documentation/iio/iio_configfs.rst +++ b/Documentation/iio/iio_configfs.rst @@ -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