Refactored the function edac_op_state_toString() to be edac_op_state_to_string()
for consistent style, and its callers
Signed-off-by: Douglas Thompson <dougthompson@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
/*
* edac misc APIs
*/
-extern char *edac_op_state_toString(int op_state);
+extern char *edac_op_state_to_string(int op_state);
#endif /* _EDAC_CORE_H_ */
edac_dev->mod_name,
edac_dev->ctl_name,
dev_name(edac_dev),
- edac_op_state_toString(edac_dev->op_state));
+ edac_op_state_to_string(edac_dev->op_state));
up(&device_ctls_mutex);
return 0;
static int edac_class_valid;
/*
- * edac_op_state_toString()
+ * edac_op_state_to_string()
*/
-char *edac_op_state_toString(int opstate)
+char *edac_op_state_to_string(int opstate)
{
if (opstate == OP_RUNNING_POLL)
return "POLLED";
" DEV '%s' (%s)\n",
pci->mod_name,
pci->ctl_name,
- dev_name(pci), edac_op_state_toString(pci->op_state));
+ dev_name(pci), edac_op_state_to_string(pci->op_state));
edac_unlock_pci_list();
return 0;