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/ubi/vtbl.c | |
parent | d7f0c4dc31f1297a613f1e61a7d682dc9a5e859a (diff) | |
download | talos-op-linux-7753f1692f53d82b4cc08084462b0fd2803c1f04.tar.gz talos-op-linux-7753f1692f53d82b4cc08084462b0fd2803c1f04.zip |
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/ubi/vtbl.c')
0 files changed, 0 insertions, 0 deletions