diff options
author | Joe Carnuccio <joe.carnuccio@qlogic.com> | 2011-05-10 11:30:16 -0700 |
---|---|---|
committer | James Bottomley <jbottomley@parallels.com> | 2011-05-17 11:39:25 +0400 |
commit | 6ad11eaa8a689a27e0c99905bcf800a37cd432a0 (patch) | |
tree | b52ef139f1969f0b67601e2b8e0ab72f7e958c43 /kernel/ptrace.c | |
parent | 6766df9e8ae2ab29459381ade1ca91b28688ab13 (diff) |
[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 <joe.carnuccio@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
Signed-off-by: James Bottomley <jbottomley@parallels.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions