scsi: ufs: ufs-exynos: Simplify drv_data retrieval
authorChanho Park <chanho61.park@samsung.com>
Mon, 18 Oct 2021 12:42:05 +0000 (21:42 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 28 Oct 2021 03:10:11 +0000 (23:10 -0400)
commit51cc3bb54286639e364061c36998f43d00fdd2b4
tree41f01e939745728dd9d5cd91cf985e5c7e3062e5
parente387d448e4899f4bbf7c8151472a2fed72063d82
scsi: ufs: ufs-exynos: Simplify drv_data retrieval

The compatible field of exynos_ufs_drv_data is not necessary because
of_device_id already has it. Thus, we don't need it anymore and we can get
drv_data by device_get_match_data.

Link: https://lore.kernel.org/r/20211018124216.153072-5-chanho61.park@samsung.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