driver-core: Shut up dev_dbg_reatelimited() without DEBUG
authorHiroshi Doyu <hdoyu@nvidia.com>
Tue, 4 Sep 2012 04:40:40 +0000 (06:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Sep 2012 03:28:11 +0000 (20:28 -0700)
commit6f586e663e3b3674cadad0d5329424b006a0a289
tree410cdc4d25578e0b4eb33661929276b25453358f
parent44c8b25fb3b4b67442426abdc2371e750f7a393e
driver-core: Shut up dev_dbg_reatelimited() without DEBUG

dev_dbg_reatelimited() without DEBUG printed "217078 callbacks
suppressed". This shouldn't print anything without DEBUG.

With CONFIG_DYNAMIC_DEBUG, the print should be configured as expected.

Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reported-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Tested-by: Antti Palosaari <crope@iki.fi>
Tested-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Acked-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/device.h