summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/regcache-lzo.c
diff options
context:
space:
mode:
authorAkinobu Mita2012-03-23 23:02:04 +0100
committerLinus Torvalds2012-03-24 00:58:33 +0100
commit0a329d2d5a1dd75273597538cdc33512ee38855e (patch)
tree5e4b51863a0b05e8866615e2da1e123173a61220 /drivers/base/regmap/regcache-lzo.c
parentbitops: rename for_each_set_bit_cont() in favor of analogous list.h function (diff)
downloadkernel-qcow2-linux-0a329d2d5a1dd75273597538cdc33512ee38855e.tar.gz
kernel-qcow2-linux-0a329d2d5a1dd75273597538cdc33512ee38855e.tar.xz
kernel-qcow2-linux-0a329d2d5a1dd75273597538cdc33512ee38855e.zip
bitops: remove for_each_set_bit_cont()
Remove for_each_set_bit_cont() after confirming that no one uses for_each_set_bit_cont() anymore. [sfr@canb.auug.org.au: regmap: cope with bitops API change] Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Robert Richter <robert.richter@amd.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/base/regmap/regcache-lzo.c')
-rw-r--r--drivers/base/regmap/regcache-lzo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regcache-lzo.c b/drivers/base/regmap/regcache-lzo.c
index 8d0061569326..77dc53272289 100644
--- a/drivers/base/regmap/regcache-lzo.c
+++ b/drivers/base/regmap/regcache-lzo.c
@@ -341,7 +341,7 @@ static int regcache_lzo_sync(struct regmap *map, unsigned int min,
lzo_blocks = map->cache;
i = min;
- for_each_set_bit_cont(i, lzo_blocks[0]->sync_bmp,
+ for_each_set_bit_from(i, lzo_blocks[0]->sync_bmp,
lzo_blocks[0]->sync_bmp_nbits) {
if (i > max)
continue;