From: Joe Carnuccio Date: Tue, 10 May 2011 18:30:16 +0000 (-0700) Subject: [SCSI] qla2xxx: Refactor call to qla2xxx_read_sfp for thermal temperature. X-Git-Tag: v3.0-rc1~383^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ad11eaa8a689a27e0c99905bcf800a37cd432a0;p=pandora-kernel.git [SCSI] qla2xxx: Refactor call to qla2xxx_read_sfp for thermal temperature. Eliminate duplicate code by refactoring the calls to qla2xxx_read_sfp() in qla2x00_get_thermal_temp(). This keeps the parameter values separate from the mailbox register mechanics. This also allows qla2xxx_read_sfp() to be the sole "spec" for READ SFP semantics. Signed-off_by: Joe Carnuccio Signed-off-by: Madhuranath Iyengar Signed-off-by: James Bottomley Signed-off-by: James Bottomley --- Reading git-diff-tree failed