Re: [PATCH 4/5] staging: kpc2000: kpc_i2c: use %s with __func__ identifier in log messages

2019-05-17 Thread Geordan Neukum
On Fri, May 17, 2019 at 07:58:19PM -0700, Joe Perches wrote: > On Sat, 2019-05-18 at 02:29 +, Geordan Neukum wrote: > > 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

Re: [PATCH 4/5] staging: kpc2000: kpc_i2c: use %s with __func__ identifier in log messages

2019-05-17 Thread Joe Perches
On Sat, 2019-05-18 at 02:29 +, Geordan Neukum wrote: > 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

[PATCH 4/5] staging: kpc2000: kpc_i2c: use %s with __func__ identifier in log messages

2019-05-17 Thread Geordan Neukum
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 ---