Utilize BIT macro everywhere

This commit is contained in:
CTCaer committed 2020-11-26 01:41:45 +02:00
1 parent 94486873c1
commit cabaa6cfb8
43 files changed
+517 -515

No files matched your search

+1 -1
View File
@@ -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.