]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:56 +0000 (18:24 -0700)
commitd832fb26416f599a92e1b41d8380b208de32c7c1
treec801a751197562c6abe0f2812019b6c7a2142064
parentb4d8aceb63985cd504a368b49b26b3681a40379f
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/addac/adt7316.c