]> git.baikalelectronics.ru Git - kernel.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)
commit702df027a0771b05ab6a6d2a7b5943343a09b733
tree1f068b2de59b5c036732b7c0262f4bea6f7b4327
parentc124ce2f80a4af960d733a870d7cec736554f88a
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