summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@linux.intel.com>2008-09-21 04:09:37 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-16 18:24:50 +0200
commit5172046d960b27f7c22bed8038d696e7004cb112 (patch)
tree1a57e114d9ecbf0f2fc1e7ef57bf21ed7144e246 /drivers/hwmon
parentdebug: use dev_WARN() rather than WARN_ON() in device_pm_add() (diff)
downloadlinux-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