driver core: Display error codes when class suspend fails
commit5abd935661e01289ba143c3b2c1ba300c65bcc5f
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Oct 2010 18:22:42 +0000 (20 11:22 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:16:44 +0000 (22 10:16 -0700)
tree11161db54ba24e5c46841fef1fdd4f6bb5d4a1e8
parent07681215975e05a1454b0afdeef07deb0db626ee
driver core: Display error codes when class suspend fails

Aid diagnostics by printing the error code from failed suspends, which
doesn't otherwise seem to get displayed.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/sys.c