sysmobts: run lindent
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
This commit is contained in:
parent
c5cd569198
commit
b6dbcd408a
|
@ -76,7 +76,8 @@ static struct device_d dm644x_emac_device = {
|
|||
.platform_data = &dm644x_emac_pdata,
|
||||
};
|
||||
|
||||
static void sysmobts_config_eeprom(const char *compatible) {
|
||||
static void sysmobts_config_eeprom(const char *compatible)
|
||||
{
|
||||
struct device_node *node;
|
||||
|
||||
node = of_find_node_by_path("/i2c/eeprom@50");
|
||||
|
@ -84,7 +85,8 @@ static void sysmobts_config_eeprom(const char *compatible) {
|
|||
pr_err("can't find eeprom node to configure\n");
|
||||
return;
|
||||
}
|
||||
of_set_property(node, "compatible", compatible, strlen(compatible)+1, 1);
|
||||
of_set_property(node, "compatible", compatible, strlen(compatible) + 1,
|
||||
1);
|
||||
of_device_enable(node);
|
||||
}
|
||||
|
||||
|
@ -175,6 +177,7 @@ static int sysmobts_coredevices_init(void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
coredevice_initcall(sysmobts_coredevices_init);
|
||||
|
||||
static int sysmobts_devices_init(void)
|
||||
|
@ -188,4 +191,5 @@ static int sysmobts_devices_init(void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
device_initcall(sysmobts_devices_init);
|
||||
|
|
Loading…
Reference in New Issue