]> www.infradead.org Git - users/willy/xarray.git/commit
scsi: ufs: core: Remove ufshcd_urgent_bkops()
authorBao D. Nguyen <quic_nguyenb@quicinc.com>
Tue, 27 Aug 2024 23:14:13 +0000 (16:14 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 29 Aug 2024 01:17:50 +0000 (21:17 -0400)
commit0a5167e21126c4b1d35aaab64ad04ea056ec8aab
tree6df9bdf1b0d5e0c1972a69d575f66787ee5104a5
parent3e3ac9c39e1b575e970ecab90504b6cb090f6b05
scsi: ufs: core: Remove ufshcd_urgent_bkops()

ufshcd_urgent_bkops() is a wrapper function. It only calls
ufshcd_bkops_ctrl(). Remove it to simplify the ufs core driver. Replace any
references to ufshcd_urgent_bkops() with ufshcd_bkops_ctrl().

In addition, remove the second parameter in the ufshcd_bkops_ctrl() because
the information can be retrieved from the first parameter.

Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
Link: https://lore.kernel.org/r/0c7f2c8d68408e39c28e3e81addce09cc0ee3969.1724800328.git.quic_nguyenb@quicinc.com
Acked-by: Avri Altman <avri.altman@wdc.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c