Skip to content
Commit 51428818 authored by Caleb Connolly's avatar Caleb Connolly Committed by Martin K. Petersen
Browse files

scsi: ufs: core: Use a function to calculate versions

Update the driver to use a function for referencing the UFS version.  This
replaces the UFSHCI_VERSION_xy macros, and supports comparisons where they
did not.

Link: https://lore.kernel.org/r/20210310153215.371227-2-caleb@connolly.tech


Suggested-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarBean Huo <beanhuo@micron.com>
Signed-off-by: default avatarCaleb Connolly <caleb@connolly.tech>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 2a8561b7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment