Staging: iio: addac: Prefer using the BIT macro
authorShraddha Barke <shraddha.6596@gmail.com>
Thu, 10 Sep 2015 16:30:29 +0000 (22:00 +0530)
committerJonathan Cameron <jic23@kernel.org>
Wed, 23 Sep 2015 19:23:20 +0000 (20:23 +0100)
commitafc7da6e486c04244766da9fe2574d972125a602
tree2197c3bf99bf5e1f0aea1ee9ae489c76a265a88f
parent01b721536b4128c1e17c596650198bfc36ad8c6c
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: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/addac/adt7316.c
This page took 0.024718 seconds and 5 git commands to generate.