]> 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)
commitd64102f0c773f9aee04f5a2b7e0a299408986068
tree6e39ffef79d8ad8dfff2ed5977d389c7b40b7681
parent950b94c5b9c635c3c786ec5d8d67a4b2ed99597f
scsi: ufs: Remove unused constants and code

Commit 6ff7a99a44c2 ("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