scsi: ufs: core: Export ufshcd_schedule_eh_work()
authorBart Van Assche <bvanassche@acm.org>
Wed, 20 Oct 2021 21:40:19 +0000 (14:40 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 27 Oct 2021 03:24:50 +0000 (23:24 -0400)
commit267a59f6a5e4e5e3cb5b0f88c4a58a738833d8b3
treeed1c343cec91aa5088cb6a107a0184d35495a4a4
parent4693fad7d6d4c26fc60ec43fc50f9f3d74e11dbe
scsi: ufs: core: Export ufshcd_schedule_eh_work()

Make it possible to call ufshcd_schedule_eh_work() from other source files
than ufshcd.c. Additionally, convert a source code comment into a
lockdep_assert_held() call.

Link: https://lore.kernel.org/r/20211020214024.2007615-6-bvanassche@acm.org
Acked-by: Avri Altman <Avri.Altman@wdc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/ufshcd.h