mfd: Improve diagnostics for WM8350 ID register probe
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 4 Feb 2009 20:09:38 +0000 (21:09 +0100)
committerSamuel Ortiz <samuel@sortiz.org>
Tue, 17 Feb 2009 08:00:12 +0000 (09:00 +0100)
Check the return value of the device I/O functions when reading the
ID registers so we can provide a more useful diagnostic when we're
having trouble talking to the device.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>

No differences found