]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: Remove unused constants and code
authorBart Van Assche <bvanassche@acm.org>
Tue, 19 Apr 2022 22:57:55 +0000 (15:57 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Apr 2022 03:23:02 +0000 (23:23 -0400)
commit96f10f7727c1f0c7aa467823740da4b98b051396
tree6e39ffef79d8ad8dfff2ed5977d389c7b40b7681
parent052a078a5337f572afac2f6cb38e5e1c0cf901d1
scsi: ufs: Remove unused constants and code

Commit 0dff8e0ed78b ("scsi: ufs: Remove pre-defined initial voltage values
of device power") removed the code that uses the UFS_VREG_VCC* constants
and also the code that sets the min_uV and max_uV member variables. Hence
also remove these constants and that member variable.

Link: https://lore.kernel.org/r/20220419225811.4127248-13-bvanassche@acm.org
Tested-by: Bean Huo <beanhuo@micron.com>
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Reviewed-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs.h
drivers/scsi/ufs/ufshcd.c