]> git.baikalelectronics.ru Git - kernel.git/commit
acpi, nfit: remove redundant __func__ in dev_dbg
authorJohannes Thumshirn <jthumshirn@suse.de>
Fri, 2 Mar 2018 12:20:49 +0000 (13:20 +0100)
committerDan Williams <dan.j.williams@intel.com>
Mon, 5 Mar 2018 23:58:36 +0000 (15:58 -0800)
commitd4900a41201a521e2bfcb25ef927760330e1ccb0
treea9a624df0a3e797a6f9bb642aeb74c4dbfb9265e
parent23acbe6adfc22df6eedfea082ac4ed5cf4d73272
acpi, nfit: remove redundant __func__ in dev_dbg

Dynamic debug can be instructed to add the function name to the debug
output using the +f switch, so there is no need for the nfit module to
do it again. If a user decides to add the +f switch for nfit's dynamic
debug this results in double prints of the function name like the
following:

[ 2391.935383] acpi_nfit_ctl: nfit ACPI0012:00: acpi_nfit_ctl:nmem8 cmd: 10: func: 1 input length: 0

Thus remove the stray __func__ printing.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/nfit/core.c
drivers/acpi/nfit/mce.c