commit | 49dcf086e42c990639b84152e29ebd5aa49d6dde | [log] [tgz] |
---|---|---|
author | Lee Jones <lee.jones@linaro.org> | Wed Jan 23 13:26:02 2013 +0000 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Feb 05 13:54:22 2013 +0100 |
tree | f7b031c5ab5aa3d0ed9a098ffc04f72b2529e66f | |
parent | a8f96e4178920b43525da7b2635b2ee3a53896b8 [diff] |
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>