[PATCH v2 1/5] thermal: rockchip: improve conversion error messages

2016-11-23 Thread Caesar Wang
From: Brian Norris These error messages don't give much information about what went wrong. It would be nice, for one, to see what invalid temperature was being requested when conversion fails. It's also good to return an error when we can't handle a conversion properly.

[PATCH v2 1/5] thermal: rockchip: improve conversion error messages

2016-11-23 Thread Caesar Wang
From: Brian Norris These error messages don't give much information about what went wrong. It would be nice, for one, to see what invalid temperature was being requested when conversion fails. It's also good to return an error when we can't handle a conversion properly. While we're at it, fix