staging: kpc2000: introduce __func__
authorFabian Krueger <fabian.krueger@fau.de>
Wed, 26 Jun 2019 07:35:25 +0000 (09:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 1 Jul 2019 07:19:43 +0000 (09:19 +0200)
commit39e828584b390e612958e20ca308957001fcf854
tree29cf017c875330632affdf09ec65f40a8189647d
parent69086fb80d09bf50a649cd74f28a44f60f420a42
staging: kpc2000: introduce __func__

Instead of using the function name hard coded as string, using __func__
and the '%s'-placeholder will always give the current name of the
function. When renaming a function, the debugging-messages won't have to
be rewritten.

Signed-off-by: Fabian Krueger <fabian.krueger@fau.de>
Signed-off-by: Michael Scheiderer <michael.scheiderer@fau.de>
Cc: <linux-kernel@i4.cs.fau.de>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/kpc2000/kpc2000_spi.c