diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2015-04-30 16:15:49 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-05-07 12:42:33 +0300 |
commit | 5e02bac3172fcad964eeef70ad21f583982a6eba (patch) | |
tree | dd26d9ace922a000c7525e9613ffa1a21c44a017 /drivers/iio/magnetometer/st_magn_i2c.c | |
parent | bb60646c8befe218d0bd49e71e62252cd6408ae5 (diff) | |
download | linux-5e02bac3172fcad964eeef70ad21f583982a6eba.tar.xz |
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>
Diffstat (limited to 'drivers/iio/magnetometer/st_magn_i2c.c')
0 files changed, 0 insertions, 0 deletions