diff options
author | Vignesh Babu <vignesh.babu@wipro.com> | 2007-06-12 10:31:05 +0530 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-07-18 16:55:26 +0300 |
commit | 7753f1692f53d82b4cc08084462b0fd2803c1f04 (patch) | |
tree | 1af69abb56aaa61f4b149ce044c3b214d581db6d /drivers/mtd/chips/gen_probe.c | |
parent | d7f0c4dc31f1297a613f1e61a7d682dc9a5e859a (diff) |
UBI: use is_power_of_2()
Replacing (n & (n-1)) in the context of power of 2 checks
with is_power_of_2
Signed-off-by: Vignesh Babu <vignesh.babu@wipro.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/chips/gen_probe.c')
0 files changed, 0 insertions, 0 deletions