staging: rtlwifi: rtl8822be: Use __func__ instead of hardcoded name
authorFrank A. Cancio Bello <frank@generalsoftwareinc.com>
Wed, 18 Oct 2017 03:33:06 +0000 (23:33 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Oct 2017 13:33:15 +0000 (15:33 +0200)
commit778fbddd31af61fff31774300bd4203b23893932
treec7e71b9713700a51beec5af255931bb59b8422b5
parent85d007756f7e284da9e2e043b15d9a5cca5fb429
staging: rtlwifi: rtl8822be: Use __func__ instead of hardcoded name

Switch hardcoded function name with a reference to __func__ making
the code more maintenable and addressing the checkpatch warning:

WARNING: Prefer using '"%s...", __func__' to using 'rtl8822be_sc_mapping', this function's name, in a string
+                                       "rtl8822be_sc_mapping: Not Correct Primary40MHz Setting\n");

Credits to checkpatch.

Signed-off-by: Frank A. Cancio Bello <frank@generalsoftwareinc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtlwifi/rtl8822be/trx.c