diff options
author | Felipe Balbi <balbi@ti.com> | 2011-03-16 15:59:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-19 16:45:50 -0700 |
commit | bcdd323b893ad3c9b7ef26b5e4a0bef974238501 (patch) | |
tree | 3a107018f470ec4d7e021d1421ba3688770f473f /drivers/firmware | |
parent | f0e615c3cb72b42191b558c130409335812621d8 (diff) |
device: add dev_WARN_ONCE
it's quite useful to print the device name
on the stack dump caused by WARN(), but
there are other cases where we might want
to use WARN_ONCE.
Introduce a helper similar to dev_WARN() for
that case too.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions