aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-01-03 12:51:33 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-26 18:57:59 -0500
commita2a15d54ab2d5c816deea306ae8e9101c40fe300 (patch)
tree0101ebca6b49a90d88f92f45ee1673c54ddf613d /include/linux/device.h
parent26bc420b59a38e4e6685a73345a0def461136dce (diff)
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index fb506738f7b7..7b2532361398 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -1156,7 +1156,7 @@ do { \
1156#define dev_info_once(dev, fmt, ...) \ 1156#define dev_info_once(dev, fmt, ...) \
1157 dev_level_once(dev_info, dev, fmt, ##__VA_ARGS__) 1157 dev_level_once(dev_info, dev, fmt, ##__VA_ARGS__)
1158#define dev_dbg_once(dev, fmt, ...) \ 1158#define dev_dbg_once(dev, fmt, ...) \
1159 dev_level_once(dev_info, dev, fmt, ##__VA_ARGS__) 1159 dev_level_once(dev_dbg, dev, fmt, ##__VA_ARGS__)
1160 1160
1161#define dev_level_ratelimited(dev_level, dev, fmt, ...) \ 1161#define dev_level_ratelimited(dev_level, dev, fmt, ...) \
1162do { \ 1162do { \