isci: remote device and node cleanup step1
authorHenryk Dembkowski <Henryk.Dembkowski@intel.com>
Sat, 12 Feb 2011 19:50:05 +0000 (11:50 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 07:36:31 +0000 (00:36 -0700)
commit7fbafaa51960cd2f2a7afa63829b4135c9682a75
tree06fed2a2df10dd86bee42e64667cd322d7c37130
parent6e473dd112f95806a4bfd12eced5b73632d6c032
isci: remote device and node cleanup step1

c99 the struct initializers (scic_sds_remote_device_state_handler_table[]):
1/ allows grep to consistently show method name associations.  The
   naming is mostly consistent (except when it isn't) so this guarantees
   coverage of present and future exception cases.
2/ let's the compiler guarantee that the state table array entry
   correlates with an actual state name and detect accidental reordering or
   deletion of states.
3/ allows default handler's to be identified easily

Change names from upper to low letters

Cleanup empty lines

Signed-off-by: Henryk Dembkowski <henryk.dembkowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/core/sci_base_remote_device.h
drivers/scsi/isci/core/scic_sds_remote_device.c
drivers/scsi/isci/core/scic_sds_remote_device.h
drivers/scsi/isci/core/scic_sds_remote_node_context.c
drivers/scsi/isci/core/scic_sds_remote_node_context.h
drivers/scsi/isci/core/scic_sds_stp_remote_device.c