Skip to content

Commit

Permalink
Documentation/misc-devices/mei: Fix indentation of embedded code.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Julian Brost <[email protected]>
Signed-off-by: Fabian Hofmann <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
julianbrost authored and Jonathan Corbet committed Jan 29, 2015
1 parent 21ef567 commit 5e857b6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Documentation/misc-devices/mei/mei-client-bus.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5e857b6

Please sign in to comment.