]> git.karo-electronics.de Git - linux-beck.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)
commit24ad430ecda40421851b03968efb5d9dde22d799
tree90d144b12d89862f1f8b6e13d4a217cd7ca82015
parentc9759e3fba337e8a452bd9a07be24b47f77a3e51
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