From: Kevin Hilman Date: Wed, 24 Feb 2010 19:05:45 +0000 (-0700) Subject: OMAP: omap_device: when 'called from invalid state', print state X-Git-Tag: v2.6.34-rc1~230^2~8^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24d82e3421a48a0db68026275dca64537291cf8f;p=pandora-kernel.git OMAP: omap_device: when 'called from invalid state', print state The omap_device_[enable|idle|shutdown] functions print a warning when called from an invalid state. Print the invalid state in the warning messages. This also uses __func__ to get the function name. Also, move the entire print string onto a single line to facilitate grepping or error messages. Recent discussions on LKML show strong preference for grep-able code vs. strict 80 column limit. Signed-off-by: Kevin Hilman Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed