]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: use pr_info_once() to log the firmware version
authorMichael Straube <straube.linux@gmail.com>
Sun, 17 Apr 2022 17:54:40 +0000 (19:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2022 16:31:18 +0000 (18:31 +0200)
commit8291fd152ab92a63804652901c4c250b39d5fe92
tree35935a188559a5f96077514362aff3c6f2c3e956
parent6caa6e723a49d745f45090c4789e777349f9f4a4
staging: r8188eu: use pr_info_once() to log the firmware version

Use pr_info_once() instead of a static variable and an if statement
to log the firmware version only once.

Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220417175441.13830-8-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_fw.c