Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit afc7da6e authored by Shraddha Barke's avatar Shraddha Barke Committed by Jonathan Cameron
Browse files

Staging: iio: addac: Prefer using the BIT macro



This patch replaces bit shifting on 1 with the BIT(x) macro.

This was done with coccinelle:

@@ int g; @@

-(1 << g)
+BIT(g)

Signed-off-by: default avatarShraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 01b72153
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment