commit | 5e02bac3172fcad964eeef70ad21f583982a6eba | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Thu Apr 30 15:15:49 2015 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Thu May 07 10:42:33 2015 +0100 |
tree | dd26d9ace922a000c7525e9613ffa1a21c44a017 | |
parent | bb60646c8befe218d0bd49e71e62252cd6408ae5 [diff] |
iio: st_sensors: make detection more helpful The ST sensors are detected by reading a WhoAmI register and matching the number found to a sensor name string. To make it easier to figure out what happens when things go wrong, print the WhoAmI value and the device name we're trying to match. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>