]> git.baikalelectronics.ru Git - kernel.git/commit
staging: iio: tsl2583: cleaned up logging
authorBrian Masney <masneyb@onstation.org>
Sat, 12 Nov 2016 18:19:22 +0000 (13:19 -0500)
committerJonathan Cameron <jic23@kernel.org>
Sun, 13 Nov 2016 13:07:21 +0000 (13:07 +0000)
commitf0eaca03f2c436ca83b7a328e22f9360401b261a
tree90d144b12d89862f1f8b6e13d4a217cd7ca82015
parent303dcff2c50fa16b64ab21242bcaaa2709a32c0e
staging: iio: tsl2583: cleaned up logging

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 changed.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/light/tsl2583.c