drivers/edac: core Lindent cleanup
Run the EDAC CORE files through Lindent for cleanup
Signed-off-by: Douglas Thompson <dougthompson@xmission.com>
Signed-off-by: Dave Jiang <djiang@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
diff --git a/drivers/edac/edac_module.c b/drivers/edac/edac_module.c
index 38e4a71..687d2ef 100644
--- a/drivers/edac/edac_module.c
+++ b/drivers/edac/edac_module.c
@@ -37,7 +37,7 @@
/*
* edac_op_state_toString()
*/
-char * edac_op_state_toString(int opstate)
+char *edac_op_state_toString(int opstate)
{
if (opstate == OP_RUNNING_POLL)
return "POLLED";
@@ -60,7 +60,7 @@
*/
struct sysdev_class *edac_get_edac_class(void)
{
- struct sysdev_class *classptr=NULL;
+ struct sysdev_class *classptr = NULL;
if (edac_class_valid)
classptr = &edac_class;
@@ -133,7 +133,6 @@
}
}
-
/*
* edac_init
* module initialization entry point
@@ -148,8 +147,8 @@
* Harvest and clear any boot/initialization PCI parity errors
*
* FIXME: This only clears errors logged by devices present at time of
- * module initialization. We should also do an initial clear
- * of each newly hotplugged device.
+ * module initialization. We should also do an initial clear
+ * of each newly hotplugged device.
*/
edac_pci_clear_parity_errors();
@@ -158,7 +157,7 @@
*/
if (edac_register_sysfs_edac_name()) {
edac_printk(KERN_ERR, EDAC_MC,
- "Error initializing 'edac' kobject\n");
+ "Error initializing 'edac' kobject\n");
err = -ENODEV;
goto error;
}
@@ -167,7 +166,7 @@
*/
if (edac_sysfs_memctrl_setup()) {
edac_printk(KERN_ERR, EDAC_MC,
- "Error initializing sysfs code\n");
+ "Error initializing sysfs code\n");
err = -ENODEV;
goto error_sysfs;
}
@@ -182,11 +181,11 @@
return 0;
/* Error teardown stack */
-error_mem:
+ error_mem:
edac_sysfs_memctrl_teardown();
-error_sysfs:
+ error_sysfs:
edac_unregister_sysfs_edac_name();
-error:
+ error:
return err;
}
@@ -198,7 +197,7 @@
{
debugf0("%s()\n", __func__);
- /* tear down the various subsystems*/
+ /* tear down the various subsystems */
edac_workqueue_teardown();
edac_sysfs_memctrl_teardown();
edac_unregister_sysfs_edac_name();
@@ -220,4 +219,3 @@
module_param(edac_debug_level, int, 0644);
MODULE_PARM_DESC(edac_debug_level, "Debug level");
#endif
-