diff options
author | Joe Perches <joe@perches.com> | 2015-01-03 09:51:33 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-26 15:57:59 -0800 |
commit | a2a15d54ab2d5c816deea306ae8e9101c40fe300 (patch) | |
tree | 0101ebca6b49a90d88f92f45ee1673c54ddf613d /include/linux/device.h | |
parent | 26bc420b59a38e4e6685a73345a0def461136dce (diff) | |
download | op-kernel-dev-a2a15d54ab2d5c816deea306ae8e9101c40fe300.zip op-kernel-dev-a2a15d54ab2d5c816deea306ae8e9101c40fe300.tar.gz |
device: Fix dev_dbg_once macro
There is a copy/paste typo in the dev_dbg_once macro.
It uses dev_info instead of dev_dbg, so use the correct
function instead.
Signed-off-by: Joe Perches <joe@perches.com>
Noticed-by: Marc Finet <m.dreadlock@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r-- | include/linux/device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index fb50673..7b25323 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -1156,7 +1156,7 @@ do { \ #define dev_info_once(dev, fmt, ...) \ dev_level_once(dev_info, dev, fmt, ##__VA_ARGS__) #define dev_dbg_once(dev, fmt, ...) \ - dev_level_once(dev_info, dev, fmt, ##__VA_ARGS__) + dev_level_once(dev_dbg, dev, fmt, ##__VA_ARGS__) #define dev_level_ratelimited(dev_level, dev, fmt, ...) \ do { \ |