From: Linus Walleij Date: Thu, 30 Apr 2015 13:15:49 +0000 (+0200) Subject: iio: st_sensors: make detection more helpful X-Git-Tag: omap-for-v4.3/legacy-v2-signed~121^2~761^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e02bac3172fcad964eeef70ad21f583982a6eba;p=pandora-kernel.git 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 Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed