eeepc-laptop: clean up coding style
Correct indentation and brace usage to comply with Documentation/CodingStyle. Signed-off-by: Frans Klaver <fransklaver@gmail.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
This commit is contained in:
parent
95369a73a9
commit
39a3e17e0d
|
@ -692,8 +692,9 @@ static int eeepc_register_rfkill_notifier(struct eeepc_laptop *eeepc,
|
|||
* changed during setup.
|
||||
*/
|
||||
eeepc_rfkill_hotplug(eeepc, handle);
|
||||
} else
|
||||
} else {
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -1424,8 +1425,9 @@ static int eeepc_acpi_add(struct acpi_device *device)
|
|||
result = eeepc_backlight_init(eeepc);
|
||||
if (result)
|
||||
goto fail_backlight;
|
||||
} else
|
||||
} else {
|
||||
pr_info("Backlight controlled by ACPI video driver\n");
|
||||
}
|
||||
|
||||
result = eeepc_input_init(eeepc);
|
||||
if (result)
|
||||
|
|
Loading…
Reference in New Issue