scsi: ufs: ufs-exynos: Support custom version of ufs_hba_variant_ops
authorChanho Park <chanho61.park@samsung.com>
Mon, 18 Oct 2021 12:42:08 +0000 (21:42 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 28 Oct 2021 03:10:11 +0000 (23:10 -0400)
commit533b81d674452d180c5801290fd84a5c7ddeaaeb
treed058002aa13b3294cd28f2d071f2ee4e13aeb517
parent91c49e7e82d739a7e14f883422e1003ee7a447d8
scsi: ufs: ufs-exynos: Support custom version of ufs_hba_variant_ops

By default, ufs_hba_exynos_ops will be used. Add support for a custom
version of ufs_hba_variant_ops because some variants of exynos-ufs will use
only few callbacks.

Link: https://lore.kernel.org/r/20211018124216.153072-8-chanho61.park@samsung.com
Cc: Alim Akhtar <alim.akhtar@samsung.com>
Cc: Kiwoong Kim <kwmad.kim@samsung.com>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs-exynos.c
drivers/scsi/ufs/ufs-exynos.h