Utilize BIT macro everywhere
This commit is contained in:
1 parent
94486873c1
commit
cabaa6cfb8
43 files changed
+517
-515
No files matched your search
+1
-1
@@ -20,7 +20,7 @@
|
||||
|
||||
int pmc_enable_partition(u32 part, int enable)
|
||||
{
|
||||
u32 part_mask = 1 << part;
|
||||
u32 part_mask = BIT(part);
|
||||
u32 desired_state = enable << part;
|
||||
|
||||
// Check if the partition has the state we want.
|
||||
|
||||
Reference in new issue
Block a user