docs: driver.rst: supress two ReSt warnings
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 3 Mar 2020 15:50:34 +0000 (16:50 +0100)
committerJonathan Corbet <corbet@lwn.net>
Tue, 10 Mar 2020 17:54:04 +0000 (11:54 -0600)
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>
Documentation/driver-api/driver-model/driver.rst

index baa6a85..63887b8 100644 (file)
@@ -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);