staging: kpc2000: kpc_i2c: use %s with __func__ identifier in log messages
authorGeordan Neukum <gneukum1@gmail.com>
Sat, 18 May 2019 02:29:59 +0000 (02:29 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 May 2019 08:29:02 +0000 (10:29 +0200)
commit03a51687d297c5d08a2d0019499ba457e26a107f
tree40ac36de9ce3169807660a5214b403d1d83793ca
parent63306de0e84059b3c4bdc8669d06a5b1832bb4ea
staging: kpc2000: kpc_i2c: use %s with __func__ identifier in log messages

Throughout i2c_driver.c, there are instances where the log strings
contain the function's name hardcoded into the string. Instead, use the
printk conversion specifier '%s' with the __func__ preprocessor
identifier to more maintainably print the function's name.

Signed-off-by: Geordan Neukum <gneukum1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/kpc2000/kpc_i2c/i2c_driver.c