summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-pca9685.c
diff options
context:
space:
mode:
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>2016-11-28 18:42:19 -0600
committerMartin K. Petersen <martin.petersen@oracle.com>2016-11-30 19:53:02 -0500
commit5fbb96c8f1ba89fb220efb7e4eeed7cb5112becd (patch)
tree48e18c1f6f91dbba8c49968648e35a5c2260849f /drivers/pwm/pwm-pca9685.c
parent350bb478f57387df1e0b830fc64be2d1c3d55b6b (diff)
downloadop-kernel-dev-5fbb96c8f1ba89fb220efb7e4eeed7cb5112becd.zip
op-kernel-dev-5fbb96c8f1ba89fb220efb7e4eeed7cb5112becd.tar.gz
scsi: cxlflash: Use cmd_size for private commands
Instead of using a private pool of AFU commands, use cmd_size to prime the private pool of SCSI commands such that they are allocated with a size large enough to contain an aligned AFU command. Use scsi_cmd_priv() to derive the aligned/zeroed private command on queuecommand and TMF paths. Remove cmd_checkout() as it is no longer required. The remaining AFU private command infrastructure will be removed in a cleanup commit. Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com> Acked-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/pwm/pwm-pca9685.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud