]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mfd: wm8350 tries reaches -1
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 4 Feb 2009 20:23:22 +0000 (21:23 +0100)
committerSamuel Ortiz <samuel@sortiz.org>
Tue, 17 Feb 2009 08:00:13 +0000 (09:00 +0100)
commit29c6a2e6f88225ae2673aabd2de0fa2126653231
tree1f068b2de59b5c036732b7c0262f4bea6f7b4327
parenta39a021fd73ce06aad8d1081ac711a36930e6cb8
mfd: wm8350 tries reaches -1

With a postfix decrement tries will reach -1 rather than 0,
so the warning will not be issued even upon timeout.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
drivers/mfd/wm8350-core.c