summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJulian Brost <linux-kernel@0x4a42.net>2015-01-12 00:58:09 +0100
committerJonathan Corbet <corbet@lwn.net>2015-01-29 12:56:20 -0700
commit5e857b667cc4b2778a1b4edb95177381d0b36243 (patch)
tree1d03d7e5c570a0b4b79d8413ff464905d38bd446 /Documentation
parent21ef5673230e613f71917730a19f5bd838407592 (diff)
downloadlinux-stable-5e857b667cc4b2778a1b4edb95177381d0b36243.tar.gz
linux-stable-5e857b667cc4b2778a1b4edb95177381d0b36243.tar.bz2
linux-stable-5e857b667cc4b2778a1b4edb95177381d0b36243.zip
Documentation/misc-devices/mei: Fix indentation of embedded code.
Some of the source code embedded in mei-client-bus.txt was indented using spaces. This properly indents it with tabs and also removes a single space that was placed in front of a closing curly brace. Reviewed-by: Jeremiah Mahler <jmmahler@gmail.com> Signed-off-by: Julian Brost <linux-kernel@0x4a42.net> Signed-off-by: Fabian Hofmann <fabian.hofmann@fau.de> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/misc-devices/mei/mei-client-bus.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/misc-devices/mei/mei-client-bus.txt b/Documentation/misc-devices/mei/mei-client-bus.txt
index 6ca486bd0d14..743be4ec8989 100644
--- a/Documentation/misc-devices/mei/mei-client-bus.txt
+++ b/Documentation/misc-devices/mei/mei-client-bus.txt
@@ -72,11 +72,11 @@ static struct mei_cl_device_id contact_mei_cl_tbl[] = {
MODULE_DEVICE_TABLE(mei_cl, contact_mei_cl_tbl);
static struct mei_cl_driver contact_driver = {
- .id_table = contact_mei_tbl,
- .name = CONTACT_DRIVER_NAME,
+ .id_table = contact_mei_tbl,
+ .name = CONTACT_DRIVER_NAME,
- .probe = contact_probe,
- .remove = contact_remove,
+ .probe = contact_probe,
+ .remove = contact_remove,
};
static int contact_init(void)
@@ -112,7 +112,7 @@ int contact_probe(struct mei_cl_device *dev, struct mei_cl_device_id *id)
mei_cl_register_event_cb(dev, contact_event_cb, contact);
return 0;
- }
+}
In the probe routine the driver first enable the MEI device and then registers
an ME bus event handler which is as close as it can get to registering a