drivers/video/pmag-ba-fb.c: improve diagnostics
authorMaciej W. Rozycki <macro@linux-mips.org>
Tue, 16 Oct 2007 08:29:30 +0000 (01:29 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:19 +0000 (09:43 -0700)
commit53ee1b5bbf937be29862ae8b3ea13af444af1f36
tree3128ad654075f9d7c3368eea0bd15a09eeca73e1
parent0b693eafc4be2bc9fceb318501930c66f38dbb10
drivers/video/pmag-ba-fb.c: improve diagnostics

Add error messages to the probe call.

While they may rarely trigger, they may be useful when something weird is
going on.  Also this is good style.

[akpm@linux-foundation.org: remove unneeded initialisation]
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/pmag-ba-fb.c