From: Linus Walleij Date: Thu, 30 Apr 2015 13:15:47 +0000 (+0200) Subject: iio: st_sensors: make interrupt optional X-Git-Tag: omap-for-v4.3/legacy-v2-signed~121^2~761^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2bc431868a1c3172bb8fa3187a90fa806bba484;p=pandora-kernel.git iio: st_sensors: make interrupt optional Some sensors such as magnetometers and pressure sensors doesn't have interrupts at all, and thus no DRDY setting applies. Make the assignment of an interrupt optional, and do not call st_sensors_set_drdy_int_pin() if there is no drdy (data ready) pin specified. Signed-off-by: Linus Walleij Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed