]> git.dujemihanovic.xyz Git - u-boot.git/commit
ufs: Pass hba pointer to ufshcd_prepare_req_desc_hdr()
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Wed, 16 Aug 2023 15:05:53 +0000 (17:05 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 24 Aug 2023 17:47:43 +0000 (13:47 -0400)
commit7f26fcbea82caa57852fc93bee7ac7300a42c730
tree63993a656203dfbc5c5f50e34e435ea40509dc4f
parent2ff810ae5e823ba42c7b543b06d87e3dd7d1cb81
ufs: Pass hba pointer to ufshcd_prepare_req_desc_hdr()

Pass the hba pointer itself to ufshcd_prepare_req_desc_hdr()
instead of duplicating utp_transfer_req_desc access at each
call site. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
Tested-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
drivers/ufs/ufs.c