]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: ufs: core: Move the ufshcd_device_init() calls
authorBart Van Assche <bvanassche@acm.org>
Wed, 16 Oct 2024 20:12:02 +0000 (13:12 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Oct 2024 19:30:21 +0000 (15:30 -0400)
commit639e2043b58998b3950ab90413c1b726945058bf
tree1961b3ec1ed0dbfdbf1b9220e0d20cbb873c6ce1
parent0936001322646a15d7091f61232e5ded9bf1883f
scsi: ufs: core: Move the ufshcd_device_init() calls

Move the ufshcd_device_init() and ufshcd_process_hba_result() calls to
the ufshcd_probe_hba() callers. This change refactors the code without
modifying the behavior of the UFSHCI driver. This change prepares for
moving one ufshcd_device_init() call into ufshcd_init().

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20241016201249.2256266-7-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c