pinctrl/abx500: use the BIT() macro where appropriate
authorLee Jones <lee.jones@linaro.org>
Wed, 23 Jan 2013 13:26:02 +0000 (13:26 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Feb 2013 12:54:22 +0000 (13:54 +0100)
commit49dcf086e42c990639b84152e29ebd5aa49d6dde
treef7b031c5ab5aa3d0ed9a098ffc04f72b2529e66f
parenta8f96e4178920b43525da7b2635b2ee3a53896b8
pinctrl/abx500: use the BIT() macro where appropriate

The BIT() macro provides a simple and easy to read way of
obtaining bit offsets into things like masks and hardware
registers. In this patch we're simply replacing all
instances of '1 << x' with 'bit(x)'.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-abx500.c