File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10399,7 +10399,7 @@ static int tpacpi_dytc_profile_init(struct ibm_init_struct *iibm)
10399
10399
if (err )
10400
10400
return err ;
10401
10401
10402
- if (test_bit ( DYTC_FC_MMC , ( void * ) & output )) { /* MMC MODE */
10402
+ if (output & BIT ( DYTC_FC_MMC )) { /* MMC MODE */
10403
10403
dytc_profile_available = DYTC_FUNCMODE_MMC ;
10404
10404
10405
10405
/*
@@ -10412,7 +10412,7 @@ static int tpacpi_dytc_profile_init(struct ibm_init_struct *iibm)
10412
10412
if (!err && ((output & DYTC_ERR_MASK ) == DYTC_ERR_SUCCESS ))
10413
10413
dytc_mmc_get_available = true;
10414
10414
}
10415
- } else if (test_bit ( DYTC_FC_PSC , ( void * ) & output )) { /*PSC MODE */
10415
+ } else if (output & BIT ( DYTC_FC_PSC )) { /* PSC MODE */
10416
10416
dytc_profile_available = DYTC_FUNCMODE_PSC ;
10417
10417
} else {
10418
10418
dbg_printk (TPACPI_DBG_INIT , "No DYTC support available\n" );
You can’t perform that action at this time.
0 commit comments