mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
FROMGIT: scsi: ufs: core: Switch 'check_for_bkops' to bool
Only checks true and false so it can be converted to bool.
Change-Id: I7c0723987b3c703b8d19189f7d00b3ee7fcc12d0
Signed-off-by: ChanWoo Lee <cw9316.lee@samsung.com>
Link: https://lore.kernel.org/r/20221111062209.7365-1-cw9316.lee@samsung.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit 5277326d07 git://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next)
Signed-off-by: Bart Van Assche <bvanassche@google.com>
This commit is contained in:
committed by
Treehugger Robot
parent
5a7704daeb
commit
974aa27262
@@ -8869,7 +8869,7 @@ static int ufshcd_set_dev_pwr_mode(struct ufs_hba *hba,
|
||||
|
||||
static int ufshcd_link_state_transition(struct ufs_hba *hba,
|
||||
enum uic_link_state req_link_state,
|
||||
int check_for_bkops)
|
||||
bool check_for_bkops)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
@@ -9020,7 +9020,7 @@ static void ufshcd_hba_vreg_set_hpm(struct ufs_hba *hba)
|
||||
static int __ufshcd_wl_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op)
|
||||
{
|
||||
int ret = 0;
|
||||
int check_for_bkops;
|
||||
bool check_for_bkops;
|
||||
enum ufs_pm_level pm_lvl;
|
||||
enum ufs_dev_pwr_mode req_dev_pwr_mode;
|
||||
enum uic_link_state req_link_state;
|
||||
|
||||
Reference in New Issue
Block a user