]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: ufshpb: Merge ufshpb_reset() and ufshpb_reset_host()
authorBean Huo <beanhuo@micron.com>
Thu, 5 May 2022 13:47:02 +0000 (15:47 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 11 May 2022 02:01:51 +0000 (22:01 -0400)
commit61ddc6a867c60bb7f8f80fad7e8723ee3a90e0e6
tree9f53e6f8b73866612fe5f04c626cd9405588b5d4
parent41cf37f6240f018737dbf8ad9823e914cbb391d7
scsi: ufs: ufshpb: Merge ufshpb_reset() and ufshpb_reset_host()

There is no functional change in this patch, just merge ufshpb_reset() and
ufshpb_reset_host() into one function ufshpb_toggle_state().

Link: https://lore.kernel.org/r/20220505134707.35929-2-huobean@gmail.com
Reviewed-by: Keoseong Park <keosung.park@samsung.com>
Signed-off-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/ufshpb.c
drivers/scsi/ufs/ufshpb.h