diff options
author | Kevin Hilman <[email protected]> | 2010-02-24 12:05:45 -0700 |
---|---|---|
committer | Paul Walmsley <[email protected]> | 2010-02-24 12:05:45 -0700 |
commit | 24d82e3421a48a0db68026275dca64537291cf8f (patch) | |
tree | 52361cd142ac654bd3c2316fefc97238ce322193 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 0007122ad85cc36b1c18c0b59344093ca210d206 (diff) |
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 <[email protected]>
Signed-off-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions