commit | bcdd323b893ad3c9b7ef26b5e4a0bef974238501 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Wed Mar 16 15:59:35 2011 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Apr 19 16:45:50 2011 -0700 |
tree | 3a107018f470ec4d7e021d1421ba3688770f473f | |
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>