scsi: ufs: core: Refactor ufshcd_hba_enable()
authorKeoseong Park <keosung.park@samsung.com>
Fri, 28 Oct 2022 07:35:53 +0000 (16:35 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2022 02:55:31 +0000 (02:55 +0000)
commitbc77fb9ce40c276cedf889dca2bc6d1b1edc2763
tree22f9eec9e449e709ff75bec83679bc548ae392e5
parente6629dcb00adeebcfeaee45b1c987a84eb3ce1ba
scsi: ufs: core: Refactor ufshcd_hba_enable()

Use "if error return" style in ufshcd_hba_enable().  No functional change.

Cc: Bart Van Assche <bvanassche@acm.org>
Cc: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Keoseong Park <keosung.park@samsung.com>
Link: https://lore.kernel.org/r/20221028073553epcms2p6dc4f8bdbebdc8f96f43fc4197b3edd0c@epcms2p6
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c