pm8001: Fix erratic calculation in update_flash
authorTomas Henzl <thenzl@redhat.com>
Wed, 30 Jul 2014 14:40:51 +0000 (16:40 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 1 Aug 2014 12:16:40 +0000 (08:16 -0400)
The loopcount is calculated by using some weird magic. Use instead a boring
macro.

Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Acked-by: Suresh Thiagarajan <Suresh.Thiagarajan@pmcs.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>

No differences found