summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-api/driver-model
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-03-03 16:50:34 +0100
committerJonathan Corbet <corbet@lwn.net>2020-03-10 11:54:04 -0600
commit99d1a38a739e1d8e3ae6b2f76a364b21f16d7bd9 (patch)
treeed81d478bb81b96bfb03f79dbfceb72e082f9d71 /Documentation/driver-api/driver-model
parent8206de7d3887f17aa0034b319ab6ca6c2f925372 (diff)
downloadlinux-99d1a38a739e1d8e3ae6b2f76a364b21f16d7bd9.tar.bz2
docs: driver.rst: supress two ReSt warnings
Get rid of those, by marking a literal block as such: Documentation/driver-api/gpio/driver.rst:425: WARNING: Unexpected indentation. Documentation/driver-api/gpio/driver.rst:423: WARNING: Inline emphasis start-string without end-string. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/8356b02547087979f57cb71fbefb5e5f636c78f4.1583250595.git.mchehab+huawei@kernel.org Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/driver-api/driver-model')
-rw-r--r--Documentation/driver-api/driver-model/driver.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/driver-api/driver-model/driver.rst b/Documentation/driver-api/driver-model/driver.rst
index baa6a85c8287..63887b813005 100644
--- a/Documentation/driver-api/driver-model/driver.rst
+++ b/Documentation/driver-api/driver-model/driver.rst
@@ -210,7 +210,7 @@ probed.
While the typical use case for sync_state() is to have the kernel cleanly take
over management of devices from the bootloader, the usage of sync_state() is
not restricted to that. Use it whenever it makes sense to take an action after
-all the consumers of a device have probed.
+all the consumers of a device have probed::
int (*remove) (struct device *dev);