diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2008-09-21 04:09:37 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-16 18:24:50 +0200 |
commit | 5172046d960b27f7c22bed8038d696e7004cb112 (patch) | |
tree | 1a57e114d9ecbf0f2fc1e7ef57bf21ed7144e246 /drivers/hwmon | |
parent | debug: use dev_WARN() rather than WARN_ON() in device_pm_add() (diff) | |
download | linux-5172046d960b27f7c22bed8038d696e7004cb112.tar.xz linux-5172046d960b27f7c22bed8038d696e7004cb112.zip |
usb: turn dev_warn+WARN_ON combos into dev_WARN
dev_WARN is both compacter and gives better debug information
than just a WARN_ON, since people and tools will copy the device
information message together with the WARN_ON in bug reports.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions