diff options
author | Kevin Hilman <khilman@deeprootsystems.com> | 2010-02-24 20:05:45 +0100 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-02-24 20:05:45 +0100 |
commit | 24d82e3421a48a0db68026275dca64537291cf8f (patch) | |
tree | 52361cd142ac654bd3c2316fefc97238ce322193 /arch/arm/mach-omap2/cm-regbits-34xx.h | |
parent | OMAP: omap_device: add omap_device_is_valid() (diff) | |
download | linux-24d82e3421a48a0db68026275dca64537291cf8f.tar.xz linux-24d82e3421a48a0db68026275dca64537291cf8f.zip |
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 <khilman@deeprootsystems.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/cm-regbits-34xx.h')
0 files changed, 0 insertions, 0 deletions