Re: [PATCH v4 07/26] staging: iio: tsl2583: cleaned up logging

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > There are several places in the code where the function name is > hardcoded in the log message. Use the __func__ constant string to build > the log message. This also clarifies some of the error messages to match > the code and ensures that the correct

Re: [PATCH v4 07/26] staging: iio: tsl2583: cleaned up logging

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > There are several places in the code where the function name is > hardcoded in the log message. Use the __func__ constant string to build > the log message. This also clarifies some of the error messages to match > the code and ensures that the correct

[PATCH v4 07/26] staging: iio: tsl2583: cleaned up logging

2016-11-12 Thread Brian Masney
There are several places in the code where the function name is hardcoded in the log message. Use the __func__ constant string to build the log message. This also clarifies some of the error messages to match the code and ensures that the correct priority is used since the message is already being

[PATCH v4 07/26] staging: iio: tsl2583: cleaned up logging

2016-11-12 Thread Brian Masney
There are several places in the code where the function name is hardcoded in the log message. Use the __func__ constant string to build the log message. This also clarifies some of the error messages to match the code and ensures that the correct priority is used since the message is already being