mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
Staging: rtl8192e: Use %s and __func__ in strings
Fix following checkpatch.pl warnings by using %s and __func__ in strings instead of function names. WARNING: Prefer using '"%s...", __func__' to using '_rtl92e_dm_check_rate_adaptive', this function's name, in a string WARNING: Prefer using '"%s...", __func__' to using 'rtl92e_dm_restore_state', this function's name, in a string Signed-off-by: Puranjay Mohan <puranjay12@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5249495da0
commit
dad3f77ff4
1 changed files with 2 additions and 2 deletions
|
|
@ -334,7 +334,7 @@ static void _rtl92e_dm_check_rate_adaptive(struct net_device *dev)
|
|||
|
||||
if (!priv->up) {
|
||||
RT_TRACE(COMP_RATE,
|
||||
"<---- _rtl92e_dm_check_rate_adaptive(): driver is going to unload\n");
|
||||
"<---- %s: driver is going to unload\n", __func__);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -1178,7 +1178,7 @@ void rtl92e_dm_restore_state(struct net_device *dev)
|
|||
|
||||
if (!priv->up) {
|
||||
RT_TRACE(COMP_RATE,
|
||||
"<---- rtl92e_dm_restore_state(): driver is going to unload\n");
|
||||
"<---- %s: driver is going to unload\n", __func__);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue