scsi: pmcraid: Use sgl_alloc_order() and sgl_free_order()
authorBart Van Assche <bart.vanassche@wdc.com>
Mon, 12 Feb 2018 16:58:19 +0000 (08:58 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 14 Feb 2018 02:49:15 +0000 (21:49 -0500)
commited4414cef2ad0ad0afb3d77a6fdde425d7f7ec4d
treed76cd830f86a373d7f3c23391d04af20725accfd
parentf5594686f5f06637bea144159dfe147dae3040d2
scsi: pmcraid: Use sgl_alloc_order() and sgl_free_order()

Use the sgl_alloc_order() and sgl_free_order() functions instead of open
coding these functions.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Cc: Anil Ravindranath <anil_ravindranath@pmc-sierra.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/Kconfig
drivers/scsi/pmcraid.c
drivers/scsi/pmcraid.h