From: Julian Brost Date: Sun, 11 Jan 2015 23:58:09 +0000 (+0100) Subject: Documentation/misc-devices/mei: Fix indentation of embedded code. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5e857b667cc4b2778a1b4edb95177381d0b36243;p=linux-beck.git 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 Signed-off-by: Julian Brost Signed-off-by: Fabian Hofmann Signed-off-by: Jonathan Corbet --- 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