]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
rtc-wm8350: retries will reach -1
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 31 Mar 2009 22:24:59 +0000 (15:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:26 +0000 (08:59 -0700)
commit62da659a7057f7227a99a42eea6aa606b09c1e8c
tree580881d892f50d919ae885e9e7cc220be66b8868
parenta216685818a54b4f15235068b53908f954850251
rtc-wm8350: retries will reach -1

With a postfix decrement retries will reach -1 rather than 0, so the
warning and error-out will not occur.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-wm8350.c