[ARM] 5441/1: Use pr_err on error paths in at91 pm
authorRyan Mallon <ryan@bluewatersys.com>
Wed, 1 Apr 2009 19:33:30 +0000 (20:33 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 1 Apr 2009 21:18:19 +0000 (22:18 +0100)
commit7f96b1caac43b34b325ee4acf61ce57d7214409c
tree72b3cead74193f2076df2185566ae66c4ed102a1
parentf2255be8126e86142901c61dd482c1c2a5ffdda7
[ARM] 5441/1: Use pr_err on error paths in at91 pm

Change pr_debug to pr_err on error paths in the AT91 power management
code. All of the errors will result in the cpu not going into the
suspend state. This patch makes it possible to identify problems with
suspend when power management debugging is not enabled.

Signed-off-by: Ryan Mallon <ryan@bluewatersys.com>
Acked-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-at91/pm.c