OSDN Git Service

hpsa: refactor hpsa_find_board_params() to encapsulate legacy test
authorWebb Scales <webbnh@hp.com>
Fri, 23 Jan 2015 22:42:17 +0000 (16:42 -0600)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 2 Feb 2015 17:57:38 +0000 (09:57 -0800)
commitc7ee65b3841f4e3e40d154ebcb80acb79b261c1c
treef4e89fcae7e58d72a80d82a67011cc821900f8c7
parent1ba66c9cc30a6967c0b8a6be3faeee0598eeed62
hpsa: refactor hpsa_find_board_params() to encapsulate legacy test

Encapsulate the conditional predicate which tests for legacy controllers
in a separate function and rework the code comments.

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Signed-off-by: Webb Scales <webbnh@hp.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/hpsa.c