Commit a2a15d54 authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman

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: default avatarJoe Perches <joe@perches.com>
Noticed-by: default avatarMarc Finet <m.dreadlock@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 26bc420b
...@@ -1156,7 +1156,7 @@ do { \ ...@@ -1156,7 +1156,7 @@ do { \
#define dev_info_once(dev, fmt, ...) \ #define dev_info_once(dev, fmt, ...) \
dev_level_once(dev_info, dev, fmt, ##__VA_ARGS__) dev_level_once(dev_info, dev, fmt, ##__VA_ARGS__)
#define dev_dbg_once(dev, fmt, ...) \ #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, ...) \ #define dev_level_ratelimited(dev_level, dev, fmt, ...) \
do { \ do { \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment