driver core: Add dev_*_ratelimited() family
authorHiroshi DOYU <hdoyu@nvidia.com>
Mon, 14 May 2012 07:47:57 +0000 (10:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2012 15:47:11 +0000 (08:47 -0700)
commit6ca045930338485a8cdef117e74372aa1678009d
treeb48243eeca23dc1b3b29e365d5b420ba121ff124
parent094e47e9fa79e28f0e51e37400ea6eea35a4ee1f
driver core: Add dev_*_ratelimited() family

Add dev_*_ratelimited() family, dev_* version of pr_*_ratelimited().

Using Joe Perches's proposal/implementation.

Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/device.h